A
adriana
Hi,
How can I delete aLL directory from un specified
directory but not itself.
Thanks
How can I delete aLL directory from un specified
directory but not itself.
Thanks
adriana said:Hi,
How can I delete aLL directory from un specified
directory but not itself.
Thanks
In case your current directory is on a different drive this could end upDean Wells said:CD <directory name>
RD /s /q .
Matthias said:In case your current directory is on a different drive this could end up
in a disaster ;-)
I would include /D
CD /D <directory name>
RD /s /q .
Otherwise I prefer this approach since creation date of the folder is
preserved.
Matthias said:In case your current directory is on a different drive this could end
up in a disaster ;-)
I would include /D
CD /D <directory name>
RD /s /q .
Otherwise I prefer this approach since creation date of the folder is
preserved.