FC0-U61 · Question #357
Which of the following switches is used with the XCOPY command to copy directories and subdirectories, including empty directories?
The correct answer is D. /e. The /E switch for the XCOPY command is used to copy directories and subdirectories, including any that are empty, from a source to a destination.
Question
Which of the following switches is used with the XCOPY command to copy directories and subdirectories, including empty directories?
Options
- A/q
- B/o
- C/s
- D/e
How the community answered
(48 responses)- A2% (1)
- B4% (2)
- C2% (1)
- D92% (44)
Why each option
The /E switch for the XCOPY command is used to copy directories and subdirectories, including any that are empty, from a source to a destination.
The /Q switch suppresses the display of XCOPY messages, not affecting directory copying.
The /O switch copies file ownership and ACL information, not related to copying empty directories.
The /S switch copies directories and subdirectories but excludes empty ones, which does not meet the requirement to include empty directories.
The /E switch with the XCOPY command copies directories and subdirectories, including empty ones. This is crucial when needing to replicate a complete directory structure without omitting any folders.
Concept tested: XCOPY command switches
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/xcopy
Topics
Community Discussion
No community discussion yet for this question.