If I create a Windows 8 shortcut for a console application and set a shortcut key (cf. the screenshot below), then using that shortcut while the application is already open will not open the application again but rather change focus to the window containing the running application.
This behavior differs from what happens if I simply open the shortcut without pressing the shortcut keys, in which case a new application is opened. On the other hand, for non-console applications, pressing the shortcut keys will open a new window even if one is already open.
So, is there any way to make the shortcut keys for a console application shortcut always open a new application?
The solutions to this StackOverflow question seem to suggest that using start cmd /c
to run the relevant application might be helpful, but that doesn't seem to do the job in the case of shortcuts.
start C:\...\sh.exe
does create a new window for each call but ends up spawning a new default console, which is not the desired behavior.