I try to run Task in ConEmu to open several consoles, and for each start a batch script is run when I open it. For example:
- Open Git Bash, name the console "X", set the current directory to "Y".
- Open another Git Bash and run a set of commands, for example "cd A / B / C", "vagrant up"
- Open a normal command window, run the command "cd D / E / F", "grunt watch"
I want the second and third consoles to appear next to each other, but under the first console. So far, I'm stuck in getting commands to run; I have a task that runs the following:
"%ProgramFiles(x86)%\Git\bin\sh.exe" --login -i "-cur_console:n:t:Git Bash" "-cur_console:d:C:\Users\Ole Vik\dev"
"%ProgramFiles(x86)%\Git\bin\sh.exe" --login -i "-cur_console:s1TVn:t:Vagrant"
cmd "-cur_console:s2THn:t:Third"
Reading the ConEmu wiki led me to a new console and cur_console switches , but it's hard for me to understand if I can enter commands in the Task setup in any way, or maybe if I can run its .bat script on each console.
source
share