Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADir() question
Message
From
13/11/2001 13:52:57
 
 
To
13/11/2001 09:55:43
Yan Kai On
Welkin System Ltd.
Tuen Mun, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00580787
Message ID:
00581036
Views:
19
>Hi, Ed Rauh.
>
>Actually i am using Windows NT 4.0.
>I don't want the files are sorted by creation time. I just want to know which files is placed on the Server first. Do you have any solution about that?
>

Not with ADIR() which returns the last modified date. You can use the API or Scripting.FileSystemObject COM Object's File Object properties to determine creation, last modification, and last reference times; you can't count on the order of occurance in the folder to indicate age, since in FAT there is reuse of deleted file entries, and in NTFS, the content of the folder index is hashed.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform