EXPAND Command Does Not Recognize Path with Spaces

ID: Q155564


The information in this article applies to:
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0


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 : kbtool kbusage NTSrvWkst ntutil
Version : winnt:4.0
Platform : winnt
Issue type :


Last Reviewed: January 4, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.