Errors Changing Directory at Command PromptID: q155262
|
When you try to change to a directory with a long file name at a command prompt, you may receive one of the following error messages:
Too many parameters
Parameter format not correct
Invalid directory
These error messages are caused by the use of Command.com instead of
Cmd.exe in the console.
Command.com is included in Windows NT 4.0 for backward compatibility, and
contains very little support for long file names.
To work around this behavior, use either of the following methods:
The error message "Too many parameters" occurs when there is a space in
the long directory name and the name is enclosed in quotation marks.
"Parameter format not correct" occurs when there are no spaces but the
name is enclosed in quotation marks. "Invalid directory" occurs when there
are no quotation marks.
Command.com can be used accidentally if the computer is upgraded from
Windows or Windows for Workgroups version 3.x. The Command Prompt icon
remains in the Programs group, and the group is converted to shortcuts by
Windows NT 4.0 Setup.
Additional query words:
Keywords : kbenv ntdosap NTSrvWkst prodnt
Version : winnt:4.0
Platform : winnt
Issue type : kbprb
Last Reviewed: February 28, 1999