>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)