MS-DOS External Commands
The DELTREE Command
Description:
Deletes a directory and all the subdirectories and files in it
Command Syntax:
DELTREE [/Y] [drive:]path [[drive:]path[...]]
Explanation of Syntax:
[/Y] suppresses prompting to confirm you want to delete the subdirectory.
[[drive:]path] specifies the name of the directory(s) you want to delete.
Note: Use DELTREE cautiously. Every file and subdirectory within the specified directory will be deleted.
Command Use:
This command can be used at the command prompt and in batch files.