The correct answer is B. RD.
The command RD
(or RMDIR
) is used to delete a directory. If the directory is empty, it will be deleted immediately. If the directory is not empty, you will be prompted to delete it and all of its contents.
The command DEL
(or ERASE
) is used to delete a file. It can also be used to delete multiple files at once, by specifying them after the DEL
command. However, it cannot be used to delete a directory.
The command MD
(or MKDIR
) is used to create a directory. It cannot be used to delete a directory.
The command E
is not a valid command.