Multiple choice

Which command is used to delete a directory and all its contents in one step?

  1. DEL

  2. RD

  3. DELTREE

  4. CD

  5. _

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The DELTREE command allows us to delete a directory even if it contains files and subdirectories and all its contents in one step. This command specifies the name of the directory you want to delete.