cmdcmder

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

  • 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.