Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Size
Message
 
To
12/06/2002 12:46:20
Issam Mansour
Jordan Business Machines
Amman, Jordan
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00667491
Message ID:
00667518
Views:
22
>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)
oDir  = o.GetFolder("c:\null")
? oFile.Size
? oDir.size
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform