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 DELTREE 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
Like with DELTREE, use this command with caution! One slip-up and you could accidentally delete important files from your hard drive.
Return to the Windows 2000 and DOS page.
The MalekTips website was created in 1998 by Andrew Malek of Envision Programming. The page's goal is to freely disperse computer-related tips, hints, and informative articles. Tips are organized to be easy to find, and are presented clearly, in easy-to-understand language.