Thursday, May 03, 2007

No Deltree Command? - Windows 2000 and DOS

No Deltree Command? - Windows 2000 and DOS: "SUMMARY: A Windows 2000 or Windows XP replacement for the Deltree command can be found here.

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"