Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete Path
Message
From
04/03/2002 06:49:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
04/03/2002 06:40:45
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00627703
Message ID:
00627709
Views:
15
>Hi All,
>
>I want do delte a complete path including subirectories.
>
>It must delete system / hidden / readonly as well (as in windows explorer)
>
>Is there a simple way to avoid recursion with ADIR()?
>
>TIA
>Agnes

The DOS command DELTREE does this.
RUN DELTREE /y c:\TempFolder
The /y option avoids the confirmation message.

HTH, 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