Microsoft KB Archive/288320

= &quot;Invalid Switch&quot; Error Message When Attempting to Use &quot;Xcopy&quot; or &quot;Xcopy32&quot; in MS-DOS Mode =

Article ID: 288320

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Windows Millennium Edition
 * Microsoft Windows 98 Standard Edition
 * Microsoft Windows 98 Second Edition
 * Microsoft Windows 95

-



This article was previously published under Q288320



SYMPTOMS
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  is the switch used, such as /H.



CAUSE
This behavior occurs when you use an unsupported switch with the xcopy or xcopy32 command. In the scenarios that are mentioned in the &quot;Symptoms&quot; section in this article, these commands support only a limited subset of switches.



RESOLUTION
To resolve this behavior, use only the supported switches when Windows starts. The supported switches are listed in the &quot;More Information&quot; section in this article.



Supported Switches
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

Additional query words: msdos

Keywords: kberrmsg kbprb KB288320

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.