Cannot Use Spaces in MS-DOS Command Parameters

ID: Q229880


The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Windows 98


SYMPTOMS

When you try to use an MS-DOS command that contains a path statement, you may receive the following error message:

Too many parameters.


CAUSE

This behavior can occur if you use a path statement that contains spaces. Note that the space could be in the folder or file name.


RESOLUTION

To resolve this issue, place quotation marks around each path parameter that contains a space. For example:

xcopy "c:\multimedia files\test.txt" \\machine_name\path

Additional query words: 95 98

Keywords : kbenv kberrmsg win95 win98
Version : WINDOWS:95
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: May 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.