CompTIA Exam Questions

Which of the following switches is used with the XCOPY command to copy directories and subdirectorie

Which of the following switches is used with the XCOPY command to copy directories and
subdirectories, including empty directories?

A.
/q

B.
/o

C.
/s

D.
/e

Explanation:

The /e switch is used with the XCOPY command to copy directories and subdirectories, including
empty directories. Answer option B is incorrect. The /o switch of the XCOPY command copies file
ownerships and NTFS permissions on the files while copying them.
Answer option C is incorrect. The /s switch of the XCOPY command is used to copy directories and
subdirectories, except empty directories.
Answer option A is incorrect. The /q switch of the XCOPY command does not display file names while
copying them.
Reference: “http://www.computerhope.com/cdhlp.htm”