Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADir() question
Message
De
13/11/2001 13:52:57
 
 
À
13/11/2001 09:55:43
Yan Kai On
Welkin System Ltd.
Tuen Mun, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00580787
Message ID:
00581036
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform