The -r switch errs when the command contains a directory name that contains an ampersand (&). For example:
Console.exe -r "cmd /s /k pushd %v"
.
This command syntax is used when calling Console2 via the Windows Shell, i.e. using the registry key
HKCR\Directory\shell\OpenWithConsole\command
as described here: http://www.hanselman.com/blog/Console2ABetterWindowsCommandPrompt.aspx.
When an ampersand is present, e.g. D:\Tools & Utilities
, the command fails and Console2 reports:
The system cannot find the path specified. 'Utilities' is not recognized as an internal or external command, operable program or batch file.
Instead, the command shell should open at the specified directory.
This appears to be a command parsing error within Console2.
Strictly speaking, it's not a bug in Console, but limitations of command-line parsing. Technically, you need to escape "&" as "^&" before passing it as an argument to Console. Console can't decide whether you want "date & time" or "date ^& time".
If all you want is "cd %v", try
(reminder: that's how you would type it into regedit)
If you want to open a specific tab, add
(reminder: tab names are case-sensitive)
And if you want to open all of them in the same instance of console, add
(this works in my build from http://kirill.ca/ )