What DELTREE command does?

Sharad Jaiswal
Sharad Jaiswal

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.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    MS Dos Interview Questions

    What is MS-DOS?

    MS-DOS is an operating system developed by Microsoft. It is a non-graphical command-line based operating system developed for x86-based computers. Released in the year of 1981, MS-DOS was originally w...

    MS Dos Interview Questions

    List some features of MS dos?

    Some of the features of the MS-DOS are,MS-DOS is a command-line based operating system and it doesn’t support the graphical user interface. It requires text and codes to operate. It is a 1...

    MS Dos Interview Questions

    What is the Full Form of MS-DOS?

    Microsoft Disk Operating System is the full form of MS-DOS....