15

I am using ConEmu (robust cmd) on Windows 8 Pro.

How/where can I set conemu to run autostart_console.bat when starting ConEmu or when opening a new tab?

Thank you.

Larry Eitel
  • 1,397
  • 5
  • 19
  • 37

1 Answers1

22

In most cases you need to use following command in Command line field (Settings -> Startup).

cmd /k autostart_console.bat

If you need to start other shell (not cmd.exe), for example Far Manager

cmd /c autostart_console.bat & far.exe

Full paths to autostart_console.bat or far.exe are required if they are not in %PATH%.

Maximus
  • 10,751
  • 8
  • 47
  • 65
  • That was the trick. For anyone interested, I have an autostart_console.bat in a dropbox directory which is run to setup environment, etc. – Larry Eitel Nov 14 '12 at 22:15
  • I came here and realised the reason this wasn't working for me... using __"-c"__ instead of __"/c"__ – Zv_oDD Oct 17 '14 at 13:49