EXPAND Command Does Not Recognize Path with Spaces (155564)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0

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>


Modification Type:MajorLast Reviewed:8/9/2001
Keywords:kbusage KB155564