Reputation: 7005
I want to make a little script that opens two npm scripts, each one in their own tab but I am not able to find a way to do this.
If I do cmd -new_console
it opens a new tab with cmd not cmder
If I do {cmd::Cmder} -new_console
it fails
If I do Cmder -new_console
it opens a new tab and a new Cmder window.
How can I achieve this?
Upvotes: 1
Views: 1860
Reputation: 1
Use
Cmder -new_console /single
I got this from the error that cmder gives you when you enter an incorrect flag.
Upvotes: 0
Reputation: 11
This might be what you want:
cmd /k "%ConEmuDir%\..\init.bat" -new_console
Upvotes: 1