Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADir() question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00580787
Message ID:
00581776
Vues:
25
>>>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.
>
>How far away is file/folder case sensitivity (like unix)?

Windows doesn't support it, so it's a matter of when they change the rules for Windows. As long as they support DOS/Win16/Win32 type file systems, they have to treat file names as case insensitive. AFA when Fox might return them in their stored case, ask one of the development team members; the Scripting.FileSystemObject already does.

I'd be more concerned about when they're going to support DBCS and UniCode-encoded filenames.
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