'cmder - Command to open split cmder

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?



Solution 1:[1]

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.

Solution 2:[2]

... 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.exewith 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"

Solution 3:[3]

One can right click on the top of Cmder and do as shown below snapshot enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 NonameSL
Solution 2 raphael
Solution 3 MaMu