Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find size of a text file
Message
 
To
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:
00338464
Views:
12
>>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...

Well, I wouldn't go that far< g >.

>(although i understand this is a pre-emptive strike towards Ed's post on this thread)

Absolutely! If Ed saw I didn't add this response, I'd get flogged.:-)

On a serious note, this is just part of a continuing effort to make people aware of the power of the WSH. This ain't even the tip of the iceberg.< s >
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform