EXPAND Command Does Not Recognize Path with Spaces
Article ID: 155564
Article Last Modified on 11/1/2006
APPLIES TO
- Microsoft Windows NT Server 4.0 Standard Edition
- Microsoft Windows NT Workstation 4.0 Developer Edition
This article was previously published under Q155564
SYMPTOMS
The EXPAND command does not work if the file you want to expand has spaces
in its name. For example, the following command does not work:
expand /l c:\temp stuff <source>
This command generates the following error message:
Can't open input file: temp
RESOLUTION
Enclose the entire path in quotation marks. For example, using the same
command as above, you would type:
expand /l "c:\temp stuff" <source>
Additional query words: prodnt winnt
Keywords: kbusage KB155564