You remember the RD command? When you use the RD command to delete a directory, you first delete the files in the directory, and if there are subdirectories in the directory, you need to go into this directory and use the RD command to delete the directory. If there are further subdirectories and files under the subdirectory, it is necessary to repeat the above work, it can be imagined that when the number of directory layers, the deletion will be quite troublesome. This DOS provides a quick delete directory command--deltree, which is deleted at once, regardless of the number of subdirectories and files under the directory.
We can try, for example, there is a directory ABC need to delete, take deltree this machete to try. Enter deltree ABC, when the computer will ask you if you really want to delete, type Y, the directory is deleted.
The deltree command does make it easy to delete a directory, but if the loss is significant after a mistake, make sure that the files in each subdirectory are useless before using the deltree command. For beginners, it is advisable to use this command with caution.