Microsoft KB Archive/156095

= Replace Command with Space Character in the Path Does Not Work =

Article ID: 156095

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 3.5
 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 3.5
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q156095



SYMPTOMS
When you use the REPLACE command with a path that contains a space character, the command will not be accepted.

For example, when you use the Replace command with a path that contains a space character such as "test 1" and "test 2", the command will not be accepted and you will receive the following error message:

Invalid switch - 2

No files replaced.



CAUSE
The utility does not parse the command line correctly; it ignores the quotes.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Windows NT Workstation and Server versions 3.5, 3.51, and 4.0. This problem was corrected in the latest Microsoft Windows NT 4.0 U.S. Service Pack. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

S E R V P A C K

Additional query words: prodnt

Keywords: kbnetwork KB156095

-

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

© Microsoft Corporation. All rights reserved.