[amp_mcq option1=”RD can MD” option2=”DEL and ERASE” option3=”CD and RD” option4=”COPY and RENAME” correct=”option4″]
The correct answer is: D. COPY and RENAME
- COPY is used to create a copy of a file or folder.
-
RENAME is used to change the name of a file or folder.
-
RD (or RMDIR) is used to delete a directory (folder).
- DEL (or ERASE) is used to delete a file.
- CD (or CHDIR) is used to change the current directory.
The following command sets are incorrect:
- A. RD can MD
RD is used to delete a directory, while MD is used to create a directory.
- B. DEL and ERASE
DEL and ERASE are two different commands that do the same thing: delete a file.
- C. CD and RD
CD is used to change the current directory, while RD is used to delete a directory.