Run autostart_console.bat on startup or new tab in

2019-04-19 08:41发布

问题:

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.

回答1:

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%.