Why do I receive a "The Name Specified Is Not Recognized" error when I try to run a program at the Windows 2000 or Windows NT command prompt?
March 24, 2002
A. If you go to the command prompt and attempt to run a program or navigate (i.e., change directory) to a file or folder whose name contains one of the following characters,
& ( ) ^ ; | ,
you might receive one of two errors. The possible errors are:
"" is not recognized as an internal or external command, operable program, or batch file
The system can't find the path specified (the name specified isn't recognized as an internal or external command, operable program, or batch file)
To work around this problem, either put quotation marks around the entire name or place a caret (^) in front of the special character. For example:
Open the command prompt (go to Start, Run, and type cmd.exe).
Navigate to the %systemroot% folder
cd /d %systemroot%
Copy notepad to note&pad.exe
copy notepad.exe "note&pad.exe"
Try to run note&pad.exe--you'll receive an error.
Now try running one or both of the following:
"note&pad.exe" note^&pad.exe
About the Author
You May Also Like