conemu shell_如何双击conemu打开bat文件?

I have a home-server where I run a Development minecraft server, and have moved to conemu as a CMD replacement, Exept each time I want to start the server I need to CD to the DIR & run the start.bat.

Is there a way I could create a shortcut to just double click to start the start.bat in conemu?

解决方案

Command line for the shortcut:

"C:\Program Files\Far Manager\ConEmu.exe" /cmd "\path\to\start.bat"

Or you could associate opening any batch file with ConEmu by modifying Windows registry:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\batfile\shell\open\command]

@="\"C:\\Program Files\\Far Manager\\ConEmu.exe\" /cmd \"%1\" %*"

Modify ConEmu paths to match your install location.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值