I want to run Console utility (see it on SourceForge) when Shift+Enter is hit by user. I'm using NoClose Replacer (google it, since I cannot post URLs yet) for this task. In NoClose.ini file I write the following:
Code: Select all
CommandProcessor="C:\Program Files\Console2\Console.exe" -r "/K %1"
This works fine for simple command lines. But when there are quotes or stream redirections in a command line, Console.exe cannot properly parse its -r argument.
I have no such problems with standard cmd.exe, with the following:
As it is said in the help for cmd.exe, the outer quotes are stripped away before processing the command line.
Is there a way to make Console utility work for this scenario?