Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the file information
Message
 
To
03/01/2006 01:17:49
Alfred Roa
Ebs Accounting Software Solutions
Cagayan de Oro City, Philippines
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 6 SP5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01082530
Message ID:
01082539
Views:
11
This message has been marked as the solution to the initial question of the thread.
loFSO = Createobject("Scripting.FileSystemObject")
loFile = loFSO.Getfile("c:\windows\system32\scrrun.dll")
?"Date created: " + transform(loFile.DateCreated)
?"Date last accessed: " + transform(loFile.DateLastAccessed)
?"Date last modified: " + transform(loFile.DateLastModified)
?"Drive: " + transform(loFile.Drive)
?"Name: " + transform(loFile.Name)
?"Parent folder: " + transform(loFile.ParentFolder)
?"Path: " + transform(loFile.Path)
?"Short name: " + transform(loFile.ShortName)
?"Short path: " + transform(loFile.ShortPath)
?"Size: " + transform(loFile.Size)
?"Type: " + transform(loFile.Type)
>Hi!
>
>I have a problem of getting the file information such as: file size, total time track ( for audio files), extension, etc.
>
>Thank you. Any help would be greatly appreciated.
>
>
>Regards,
>
>-Alfred -
Previous
Reply
Map
View

Click here to load this message in the networking platform