Type: External (6.0 and later)
DELTREE [/Y] [d:]path [d:]path[...]
Purpose: Deletes (erases) a directory including all files and
subdirectories that are in it (new with DOS Version 6).
Unlike the RMDIR command, the DELTREE command allows you to delete a
even if it contains files and subdirectories. All files and
subordinate to the directory you are deleting will also be deleted
any attributes. This means that even if a file has hidden, system,
or other attributes, it will still be deleted. You can specify more
directory for deletion.
When using wildcards with the DELTREE command you should be extremely
because both directories and files with names that match the wildcard
/Y - Carries out the DELTREE command without providing a prompt to
To delete the directory LETTERS including all files and subdirectories
containedin it, enter
Back to the