232k views
4 votes
Which of the following commands is used to duplicate a directory from one location to another?

A. MOVE
B. COPY
C. XCOPY
D. EDIT

User Mescalito
by
8.0k points

1 Answer

1 vote

Final answer:

The command used to duplicate a directory in Windows is XCOPY, not to be confused with COPY which is for files, MOVE which moves without copying, or EDIT which is for file modification.

Step-by-step explanation:

When it comes to duplicating a directory from one location to another in a Windows operating system environment, the correct command to use is XCOPY. This command allows for copying of files, directories, and even the entire drive contents from one location to another, and includes options to copy attributes, timestamps, and subdirectories (including empty ones). The simple COPY command is usually used to copy files, not directories. MOVE is used to transfer files and directories to a new location, but does not leave a copy behind. On the other hand, EDIT is a text command used to modify files and is not relevant to copying or moving directories.

User Farzaneh Talebi
by
8.4k points