Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find size of a text file
Message
From
28/02/2000 10:58:29
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00338422
Message ID:
00338451
Views:
10
>Naturally, the Windows Script Host FileSystemObject can do this as well:
* lcfile is the fully qualified file name
loFSO = CREATEOBJECT('Scripting.FileSystemObject')
loFile = loFSO.GetFile(lcfile)
? loFile.Size


...talk about using tactical nukes to swat a fly...

(although i understand this is a pre-emptive strike towards Ed's post on this thread)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform