deltree

deltree

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, Windows Vista and Windows 7. Instead, the rd or rmdir (remove directory) command removes a subdirectory along with all its files if the /s command-line switch is present, and does so without prompting if the /q command-line switch is also present.[1]

See also

References

  1. ^ No deltree Command? - MalekTips

External links