Which command be used to ask you to confirm that you want to delete the directory? A. Deltree B. Deltree/f C. Del *.*/p D. Erase *.*

Deltree
Deltree/f
Del *.*/p
Erase *.*

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.