Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recursive Remove Directory
Message
From
10/12/1999 18:30:42
 
 
To
10/12/1999 17:31:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00302015
Message ID:
00302064
Views:
34
>Do you know if there's any Win32API equivalent of the DOS DELTREE command?

Depends on the API call - RemoveDirectory() expects to work on an empty folder and does not recurse, and DeleteFile() won't touch folders or recurse. SHFileOperation can recursively delete if requested, but requires a structure and some understanding of the API call. Some of it's features and flags are version-specific, and are tied to the Shell revision. Some of the name structures can be challenging to work with, but for most applications are not needed.
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