Cannot Use Spaces in MS-DOS Command Parameters (229880)



The information in this article applies to:

  • Microsoft Windows 95
  • Microsoft Windows 98

This article was previously published under Q229880

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


Modification Type:MinorLast Reviewed:12/20/2004
Keywords:kbenv kberrmsg kbprb KB229880