'C:\Program' is not recognized...
Posted: Tue Jul 27, 2010 7:17 pm
I searched, but could not find, please point me in the right direction if this has been asked before...
Running Textpad 5.3.1 on W7x64, I configured a DOS command to run a program with the file currently open in TextPad as parameter. The parameters to cmd.exe look almost exactly like this:
"C:\Program Files (x86)\My App\app.exe" "$File"
(I only changed the name of the program and its dir)
Running this command (Ctrl+1) I get the error message that
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Tool completed with exit code 1
Now, I do understand what's going on here, but I should not the surrounding "..." be passed on to cmd.exe? It seems to me this does not happen. It does happen with the interpreted "$File", but not with the first parameter.
Is it me, or is it TextPad?
Bug? Feature?
Running Textpad 5.3.1 on W7x64, I configured a DOS command to run a program with the file currently open in TextPad as parameter. The parameters to cmd.exe look almost exactly like this:
"C:\Program Files (x86)\My App\app.exe" "$File"
(I only changed the name of the program and its dir)
Running this command (Ctrl+1) I get the error message that
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Tool completed with exit code 1
Now, I do understand what's going on here, but I should not the surrounding "..." be passed on to cmd.exe? It seems to me this does not happen. It does happen with the interpreted "$File", but not with the first parameter.
Is it me, or is it TextPad?
Bug? Feature?