Computer Science Ques 605
Question: In DOS, which of the following command is used to delete all the files as well as sub-directories of a directory?
Options:
A) Delete
B) Del
C) Deltree
D) Move
E) None of these
Show Answer
Answer:
Correct Answer: C
Solution:
- Deltree, short for delete tree.is a command in DOS to delete a directory’ including all files and Sub directories that arc in it. All files and sub directories subordinate to the directory you are Deleting will also be deleted regardless of any attributes. This means that even if a file has hidden, system, read only or other attributes, it will still be deleted : DELTREE [1Y] [drive:] path [[drive: [path […]]