Index | Notes | Examples RMDIR | DEL


Deletes a directory and all the files and subdirectories that are in it.   Syntax DELTREE [/Y] [drive:]path [[drive:]path[...]] Parameter drive:path Specifies the name of the directory you want to delete. The DELTREE command will delete all the files contained in the directory you specify, as well as all subdirectories and files in the subdirectories subordinate to this directory. You can specify more than one directory. Switch /Y Carries out the DELTREE command without first prompting you to confirm the deletion. Related Commands For information about removing a directory, see the <RMDIR> command. For information about deleting files, see the <DEL> command.
-Top- | Notes | Examples RMDIR | DEL