Tools Links Login

No Deltree Command?

You may remember that some versions of DOS had a DELTREE command to remove a directory as well as all of its subdirectories and contained files. Windows 2000 and Windows XP do not have this command, but you can emulate it with the RD (RMDIR) command.

For example, the following Windows 2000 or Windows XP DOS command deletes the C:\BLAH directory and all subdirectories WITHOUT ANY WARNING:


RD C:\BLAH /S /Q

!!! WARNING !!!

Use this command with caution!

One slip-up and you could accidentally delete important files from your hard drive.

About this post

Posted: 2007-12-13
By: FortyPoundHead
Viewed: 2,020 times

Categories

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.