Reputation: 1475
I've searched everywhere and I can't seem to find (what should be simple) a command that opens 2 cmder windows side by side:
And run my own commands in each one.
How can I do that using commands only?
Upvotes: 3
Views: 4923
Reputation: 2960
... ok since there is no "real" answer in here, I thought I'll post my solution:
if you execute the line below in a windows cmd (exchanging Cmder.exe
with the path to the Cmder.exe
) it will do just what you've asked for without having to mess around in the cmder gui
Cmder.exe /x "-run cmd" & Cmder.exe /x "-run -new_console:s cmd"
Upvotes: 0
Reputation: 1475
I eventually found the answer in the ConEmu github pages (sort of) by using the -new_console:s
flag.
start cmd /k "foocommand"
start cmd -new_console:s /k "barcommand"
Run the above commands from cmder and it works. The only problem is that it doesn't automatically open cmder, and you have to run it from cmder but at least it works. Starting a cmd
from cmder
opens a cmder
automatically.
Upvotes: 3