ErrMsg: The Directory Name Is InvalidLast reviewed: August 22, 1997Article ID: Q164545 |
The information in this article applies to:
SYMPTOMSWhen using the Pipe I/O redirection command ("|" without the quotes) in a batch file or in an MS-DOS session from within Windows NT, the following error may occur:
The directory name is invalid. CAUSEThe environment size value for the Comspec variable was explicitly set to a value greater than 2048. For example: Under System Variables, the value for Comspec appears as follows:
ComSpec %SystemRoot%\system32\cmd.exe /e:xxxxWhere %SystemRoot% will be the drive and directory name where NT is installed, and xxxx is a value equal to or greater than 2048.
WORKAROUNDTo work around this problem, perform one of the following:
STATUSMicrosoft has confirmed this to be a problem in Windows NT version 3.51 and 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: Pipe redirection invalid
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |