A:del
Del *.* a:
Del a:\
Erase *.*
Answer is Right!
Answer is Wrong!
The correct answer is: B. Del . a:
The del command is used to delete files. The *.* wildcard matches all files, and the a: specifies the drive letter. So, the command del *.* a: will delete all files in the root directory of drive a.
The other options are incorrect for the following reasons:
- Option A:
A:\delis not a valid command. Thedelcommand must be followed by the name of the file or files to be deleted. - Option C:
Del a:\is not a valid command. Thedelcommand must be followed by the name of the file or files to be deleted. - Option D:
Erase *.*is a valid command, but it will delete all files in the current directory, not the root directory of drive a.