Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Size.
Message
 
To
08/09/2003 18:48:27
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00827331
Message ID:
00827337
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform