Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing A Directory
Message
From
23/01/2002 10:36:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
23/01/2002 09:53:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00608966
Message ID:
00609013
Views:
24
>I am writing a program that needs to check for the existence of a particular directory. It then needs to delete everything underneath that direcotry (to include other folders) and the very last step is to delete the directory itself.

In Windows Explorer, you can erase an entire folder with its sub-folders in a single step. I think there must be an API function that does the same, but I don't know the details.

How about posting the following question in the API section: "Is there an API or WSH function that erases an entire directory?"

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform