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,
& ( ) ^ ; | , <space>you might receive one of two errors. The possible errors are:
- "<part of the name>" 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
0 comments
Hide comments