Knowledge Base

EXPAND Command Does Not Recognize Path with Spaces

Article ID: 155564

Article Last Modified on 11/1/2006


APPLIES TO


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