Cannot Use Spaces in MS-DOS Command Parameters

ID: Q229880


The information in this article applies to:


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