GIAC Certified Forensic Analyst (GCFA) — Question 2

Which of the following switches of the XCOPY command copies attributes while copying files?

Answer options

Correct answer: D

Explanation

The correct answer is D, as the /s switch allows XCOPY to copy directories and subdirectories while preserving file attributes. The other options, such as /o, /p, and /k, do not serve the function of copying attributes in the same way.