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?
This means any text editor, such as Notepad, including in all versions of Windows, can open one for editing. To open the BAT file in Notepad, right-click it and choose Show more options > Edit from the menu (or just Edit in some Windows versions).
Edit a batch file from within Windows Batch files are plain-text files, which means they can be edited as a text file by right-clicking the file and clicking Edit as shown in the picture. Once you've clicked edit, your default text editor opens the file and allows it to be modified.
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.
Strange but I post similar question! No need updating registry, one of members posted an easier way:
Running bat file easier way
We simply need selecting:
Force ConEmu as default termimal for console application
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With