>>Hi
>>
>>Is there a command to delete a Directory also if it is not empty?
>>
>>Tank you in advance for the help.
>>Luigi
>
>Another option is to use the DOS command, DELTREE.
DELTREE is not available in all DOS versions (at least my copy of XP doesn't recognize it). A DOS solution which is probably more universal is
lcDir = "Directory Name"
RUN RD &lcDir /S /Q
There may be problems with long directory name and/or those with spaces, but it should be a good substitute for DELTREE.