Multiple choice

Which DOS command is used to delete all files in the root directory on drive A?

  1. DEL a:

  2. DEL . A:

  3. DEL A:

  4. ERASE .

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

The command 'DEL a:' deletes all files in the root directory of drive A. The syntax places the drive specifier after the DEL command. Option B has incorrect syntax (should be DEL a:.), option C is ambiguous, and option D without a drive specifier would act on the current drive.