Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File properties
Message
 
To
07/02/2003 09:05:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00750540
Message ID:
00750591
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform