Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Size.
Message
 
À
08/09/2003 18:48:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00827331
Message ID:
00827337
Vues:
15
>How i can return a file size in NTFS or FAT file systems using a API Function??
>
>Regards,

* Simple sample, without verifying that the file exists etc.
lParameters tcFileName
local loFSO

loFSO=createobject('scripting.filesystemobject')
Return loFSO.GetFile(tcFileName).Size
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform