在启动时运行autostart_console.bat或在ConEmu中新建选项卡? [英] Run autostart_console.bat on startup or new tab in ConEmu?

查看:230
本文介绍了在启动时运行autostart_console.bat或在ConEmu中新建选项卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 8 Pro上使用ConEmu(robust cmd)。

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

在启动ConEmu或打开新标签页时,如何/在哪里可以设置conemu运行autostart_console.bat?

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

推荐答案

在大多数情况下,您需要在命令行中使用以下命令字段(设置 - >启动)。

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

cmd /k autostart_console.bat

如果您需要启动其他shell(不是cmd.exe),例如 Far Manager

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

cmd /c autostart_console.bat & far.exe

如果autostart_console.bat或far.exe不在%PATH%

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

这篇关于在启动时运行autostart_console.bat或在ConEmu中新建选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆