Deletes a directory along with all of the files and subdirectories that it contains. Normally, it will ask for confirmation of such a drastic action. |
|
SYNTAX: |
deltree [/y] directory |
|
The /y parameter if present tells the deltree command to carry out without first prompting for confirmation. |
|
The deltree command is not included in recent Microsoft Windows operating systems. Deleting a non-empty directory in those versions of Windows where the command is not included, can be achieved by the use of the rmdir command as in the following example: |
rmdir /s directory |