Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the file information
Message
 
À
03/01/2006 01:17:49
Alfred Roa
Ebs Accounting Software Solutions
Cagayan de Oro City, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Database:
Visual FoxPro
Divers
Thread ID:
01082530
Message ID:
01082539
Vues:
12
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 -
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform