Which of the following statements about the XCOPY command is true?
A.
XCOPY /s copies system files only.
B.
XCOPY deletes all files and subdirectories.
C.
XCOPY copies archived files only.
D.
XCOPY /s copies files and subdirectories.
Explanation:
XCOPY is a command-line utility that copies files and directory trees. XCOPY is similar to the COPY
command except that it has many more switches that allow considerable control over exactly what
is copied when using wildcards. The XCOPY command with the /s switch copies all directories and
subdirectories in the hard disk, unless they are empty.
Reference: TechNet, Contents: “MS-DOS 6 Commands: SORT – XCOPY”