Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining a File Date
Message
 
To
03/07/2003 17:13:24
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00806759
Message ID:
00806764
Views:
16
>I have been looking at the ADIR function but the documentation is difficult to follow. Possibly there is a different way.

Mike,

ADIR is the exact function you would use to get this info. It produces a multi-dimensional array, a row for each file and 5 columns for the info on each file as stated in the online help.
ADIR(aFileInfo, "C:\Myfile.Txt")
? aFileInfo[1,3]
That code snippet would give you the date of Myfile.txt.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform