Posted On: Mar 06, 2020
The DELTREE command is used to delete a directory including all the files and sub-directories in it. It deletes the files even if the file has aa hidden, system, read-only, or other attributes.
//syntax DELTREE [/Y] [drive:]path
The /Y suppresses prompting to confirm you want to delete the subdirectory. The [drive:]path specifies the name of the directory that you want to delete.
Never Miss an Articles from us.