Multiple choice

Which DOS command is used to copy entire directories, including all the subdirectories?

  1. COPY .

  2. DISKCOPY .

  3. XCOPY

  4. XRENAME

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

XCOPY is the DOS command designed to copy entire directory structures, including all subdirectories and files. The basic COPY command (. copy) only copies files in the current directory, while XCOPY with /S switch recursively copies the entire directory tree.