Computer and Software Support


DOS Command Deltree 

Deletes a directory and all the subdirectories and files in it.

To delete one or more files and directories: DELTREE [/Y] [drive:]path [[drive:]path[...]]

/Y Suppresses prompting to confirm you want to delete the subdirectory.
[drive:]path Specifies the name of the directory you want to delete.

Note: Use DELTREE cautiously. Every file and subdirectory within the specified directory will be deleted. Once deleted you cannot recover the information.

EXAMPLES

deltree c:\windows\fake010 = Deletes the fake010 directory and everything in it.

This page is from http://www.easydos.com. I pasted it on my website to avoid possible broken links. For further help with DOS commands, Check easydos.com out.