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?

John Savill

March 24, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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:

  1. Open the command prompt (go to Start, Run, and type cmd.exe).

  2. Navigate to the %systemroot% folder

     cd /d %systemroot% 
  3. Copy notepad to note&pad.exe

     copy notepad.exe "note&pad.exe" 
  4. Try to run note&pad.exe--you'll receive an error.

  5. Now try running one or both of the following:

     "note&pad.exe" note^&pad.exe 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like