[amp_mcq option1=”Deltree” option2=”Deltree/f” option3=”Del *.*/p” option4=”Erase *.*” correct=”option2″]
The correct answer is: B. Deltree/f
Deltree is a command-line utility for deleting directories and their contents. The /f switch forces the deletion of directories even if they are not empty.
The other options are incorrect because:
- A. Deltree does not ask for confirmation.
- C. Del ./p asks for confirmation for each file to be deleted, not for each directory.
- D. Erase . deletes all files in the current directory, not directories.