Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to make several console windows in one tab from task file? I want to make a grid 2x2 of consoles in one tab. I can do it by hands when create new consoles and select "To right" or "To bottom" options. But I want it to be created automatically on start up. Option "autosave/restore opened tasks" is unabled for some reason. So the only way is to create it in task. So, how can I create 2x2 grid in task?

share|improve this question
add comment

1 Answer

up vote 11 down vote accepted

This is your task contents. Checked in ConEmu build 120909.

>cmd -cur_console:n
cmd -cur_console:s1TVn
cmd -cur_console:s1THn
cmd -cur_console:s2THn

This is an example. Splitting in ConEmu may be as complex as you want, any configurations with any proportions are possible. Read project wiki for more information about -new_console and -cur_console switches.

To run all that without creating new Task

There is /cmdlist ConEmu.exe's switch.

Usage example for shortcut contents (on desktop, for example):

ConEmu -cmdlist cmd -cur_console:fn ||| cmd -cur_console:s1TVn ||| cmd -cur_console:s1THn ||| cmd -cur_console:s2THn

Need to run that from another cmd file? Here is consoles.cmd example:

start ConEmu -cmdlist cmd -cur_console:fn ^|^|^| cmd -cur_console:s1TVn ^|^|^| cmd -cur_console:s1THn ^|^|^| cmd -cur_console:s2THn
share|improve this answer
    
It worked, thank you. –  doom123 Sep 14 '12 at 8:14
    
Can you tell me how to execute this command? I have tried and this is what I get. I have the latest build. –  arin Feb 1 '13 at 19:38
    
The key word is "Task". Why you trying to run this from already started shell? Setup Tasks. –  Maximus Feb 1 '13 at 20:04
    
@Maximus I had the impression that this was a shell command. Thanks. –  arin Feb 4 '13 at 14:00
1  
@arin You may use this from shell too, but that need -new_console:... instead of -cur_console –  Maximus Feb 4 '13 at 16:03
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.