deltree

From Wikipedia, the free encyclopedia

deltree (short for delete tree) is a command line command in Microsoft operating systems that deletes an entire subdirectory of files. It appeared in MS-DOS 6, and was retained throughout all Windows versions based upon MS-DOS, including Windows 95, Windows 98, and Windows Me. (For Windows versions before Windows 95, the presence of deltree depended on the version of the MS-DOS that was already required to be on the machine, which was completely separate from Windows.)

Deltree isn't present in Windows NT-based operating systems, including Windows NT, Windows 2000, Windows XP, Windows Server, or Windows Vista. Instead, the rd or rmdir (remove directory) command removes a subdirectory along with all its files if the /s command-line switch is present.

[edit] See also