Deleting a directory structure without deleting the name of the root directory
HI
With the command prompt of Windows 7 SP1, how do I delete a directory structure with their files without deleting the name of the root directory?
THANKS
BYEBalubeto
May 9th, 2012 3:03am
Hi Balu,
Deleting a directory structure without with their files
deleting the name of the root directory
Delete everything inside the root directory
cd "root directory"
del * /s /q /f
Refer:
http://www.sevenforums.com/general-discussion/228815-deleting-directory-structure-without-deleting-name-root.html
Mohammed Imtiyaz Ali
Free Windows Admin Tool Kit Click here and download it now
May 9th, 2012 4:20am
1. The GUI alternative: Move the content of root to dust bin.
2. For doing deletition from command prompt: Sometimes you should start command prompt with
elevated rights, or even in Scheduled Task as
SYSTEM (perhaps in interactive mode to have visual control over deletition.)
Regards
Milos
May 9th, 2012 7:04am