Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Size
Message
From
12/06/2002 13:20:49
Dave Nantais
Light speed database solutions
Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00667491
Message ID:
00667515
Views:
32
>>Hi,
>>
>>Is there a way to get file size and folder size.
>>
>>
>You can use WSH
oFso = CreateObject("Scripting.FileSystemObject")
>cFileName = "myfile.txt"
>oFile = oFso.GetFile(cFileName)
>? oFile.Size
>cFolderName = "C:\myfolder\"
>oFolder = oFso.GetFolder(cFolderName)
>? ofolder.Size
is there a way to turn on intellisense for the WSH object?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform