Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How Get the size of a directory
Message
From
29/04/2003 16:44:06
Fabian Belo
Independent Developer
Argentina
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00782908
Message ID:
00782917
Views:
12
loFSO=createobject('scripting.filesystemobject')
loFolder=loFSO.GetFolder('z:\yourdir')
? loFolder.Size

>Hi!!!
>
>I have a little problem, i need get the size of a diretory, like if a right click in the explorer an select propertys, a use the object Filer, of the dll filer.dll, but this have a lot of troubles, the first trouble is that object is very slow, in the directory with too many files, the time for calculate the full size, is real big, the second trouble is that exist a diferent between the fuction result's and the property of the file explorer, somebody now ease way to get th size of directory, can help.
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Previous
Reply
Map
View

Click here to load this message in the networking platform