This article was previously published under Q288320
This article has been archived. It is offered "as is" and will no longer be updated.
When you use switches with the xcopy or xcopy32 commands in MS-DOS mode after having chosen Command Prompt Only at the boot menu, or at a command prompt while using the Windows Millennium Edition (Me) Emergency Boot Disk (EBD), you may receive the following error message
Invalid switch - - /x
where x is the switch used, such as /H.
This behavior occurs when you use an unsupported switch with the xcopy or xcopy32 command. In the scenarios that are mentioned in the "Symptoms" section in this article, these commands support only a limited subset of switches.
To resolve this behavior, use only the supported switches when Windows starts. The supported switches are listed in the "More Information" section in this article.
Continues copying even if errors occur.
If a destination does not exist while copying more than one file, this switch assumes that the destination must be a directory.
Does not display file names while copying.
Displays full source and destination file names while copying.
Displays files that would be copied.
Copies all files including hidden and system files. Note: This switch is only supported at the command prompt in Windows Me.
Overwrites read-only files.
Creates directory structure, but does not copy files. Does not include empty directories or subdirectories.
Updates the files that already exist in destination.
Copies attributes. Normal xcopy will reset read-only attributes.
Overwrites existing files without prompting.
Prompts you before overwriting existing files.
Copies by using the generated short names.
For a complete listing of switches that are available for xcopy and xcopy32, refer to the following article:
289483 Switches That You Can Use with Xcopy and Xcopy32 Commands