Deletes a directory and all the files and subdirectories that are under it.
All files contained in a directory or subdirectory is deleted, regardless of attributes such as hidden, system, and read-only.
Syntax
DELTREE [ /Y ] [ drive: ] path [ [ drive: ] path [ ... ] ]
Switch
/Y Suppresses prompting to confirm you want to delete the subdirectory
Example
deltree c: \ windows \ test
Deletes the test directory and everything in it.











