Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Folder Size
Message
From
25/10/2001 06:56:25
 
 
To
25/10/2001 04:52:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00573062
Message ID:
00573073
Views:
22
>Greetings,
> I'm making a backup program in vfp6.0, how or what command can I use to be able to know the size of a folder?

You'd need to recurse the subfolder tree and determine the sizes; the easiest method would most likely employ the WSH Scripting.FileSystemObject COM server, which contains some functionality you might find useful. See my sig block for links to several resources on the WSH.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform