I have a .bat
file which used to open 3 cmd windows each a different colour. I am now using conemu and would like to now do the same but in different tabs. How do I do that?
My .bat
file:
cd /D x:\mercurial\blah\blah
start cmd /k color 4C
cd /D x:\mercurial\blah\blah\solr
start cmd /k color 5D
cd /D x:\mercurial\blah\blah\rep
start cmd /k color 2A
Answer
Run this from your batch file (one-line command)
start "Three tabs" "C:\Program Files\ConEmu\ConEmu.exe" /cmdlist ^> cmd /k color 4C -cur_console:d:x:\mercurial\blah\blah ^|^|^| cmd /k color 5D -cur_console:d:x:\mercurial\blah\blah\solr ^|^|^| cmd /k color 2A -cur_console:d:x:\mercurial\blah\blah\rep
This starts new ConEmu window with three tabs, first tab will be active. start "Three tabs" ...
is just an example usage of start
command.
No comments:
Post a Comment