【问题标题】:How to create a shortcut for a tab in Console2?如何在 Console2 中为选项卡创建快捷方式?
【发布时间】:2012-05-23 01:44:09
【问题描述】:

在 Console2 中,我有 2 个选项卡。第一个称为“Console2”,它是默认选项卡。第二个称为“Git Bash”,它是 Git Bash CMD 的 Console2 替代品。

我想创建“Git Bash”选项卡的快捷方式。所以每次我点击这个快捷方式。我使用“Git Bash”选项卡打开 Console2。当前的 Console2 默认选项卡是“Console2”,我希望保持这种状态。

有什么解决办法吗?

【问题讨论】:

    标签: git tabs shortcut git-bash console2


    【解决方案1】:

    另一种方法是使用批处理文件

    使用此内容创建一个 yadayada.bat 文件:

    start /d "D:\.....\Desktop\Console2" Console.exe -t "tab1" -t "tab2" -t "tab3"
    

    【讨论】:

      【解决方案2】:

      我在 Console2 论坛here找到了解决方案

      要为选项卡创建快捷方式,请创建一个 Windows 快捷方式,并将目标字段设置为

      "C:\path\to\Console.exe" -t "选项卡名称"

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2020-08-29
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-09-06
        相关资源
        最近更新 更多