Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File properties
Message
 
À
07/02/2003 09:05:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00750540
Message ID:
00750591
Vues:
19
>Can someone tell me if ther is a way to expose the properties summary information associated with each file.
>
>The properties I wish to exploit are the ones exposed under properties within the widows explorer.
>
>Any information will be appreciated.
>
>Thanks
Gary,

The Windows Script Host's Scripting.FileSystemObject can reveal just about everything you see from a properties dialog.
oFSO = CREATEOBJECT("Scripting.FileSystemObject)
* lcfile is the file of interest
oFile = oFSO.GetFile(lcfile)
? oFile.DateCreated
For additional information, check out the series on the WSH that the late Ed Rauh and I did on it for the VFUG newsletter. It's available on-line at www.vfug.org in their newsletter achives. The series began in Sept. 2000.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform