Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Size
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00667491
Message ID:
00667521
Views:
30
>>Hi,
>>
>>Is there a way to get file size and folder size.
>>
>>
>>Regards
>
>
>lcFile = GETFILE()
>lcFolder = GETDIR()
>
>o = CREATEOBJECT("Scripting.FileSystemObject")
>oFile = o.GetFile(lcfile)

Sorry
<PRE>
oDir  = o.GetFolder(lcFolder)
>oDir = o.GetFolder("c:\null")
>? oFile.Size
>? oDir.size
>
Previous
Reply
Map
View

Click here to load this message in the networking platform