Replace Command with Space Character in the Path Does Not Work (156095)
The information in this article applies to:
- Microsoft Windows NT Workstation 3.5
- Microsoft Windows NT Workstation 3.51
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Server 4.0
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):
Modification Type: | Major | Last Reviewed: | 5/14/2003 |
---|
Keywords: | kbnetwork KB156095 |
---|
|