Here are the instructions in Markdown format:
Here is the instruction how to configure it:
1. Create a file named `start_mobaxterm.bat` in `C:\Program Files\EVE-NG`.
2. Paste the following code into it:
```batch
@echo off
SET input=%1
FOR /f "tokens=1,2,3 delims=:" %%a IN ("%input%") do SET host=%%b&SET port=%%c
SET host=%host:~2%
echo %host%
echo %port%
cd C:\Program Files (x86)\Mobatek\MobaXterm
MobaXterm.exe -newtab "telnet -r %host% %port%"
-
Create a file named
win10_64bit_MobaXterm.reg
(or whatever you like). -
Paste the following code into it:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\MobaXterm.telnet]
@="URL:telnet Protocol"
"URL Protocol"=""
[HKEY_CURRENT_USER\SOFTWARE\Classes\MobaXterm.telnet\DefaultIcon]
@="\"C:\\Program Files (x86)\\Mobatek\\MobaXterm\\MobaXterm.exe\",0"
[HKEY_CURRENT_USER\SOFTWARE\Classes\MobaXterm.telnet\shell]
[HKEY_CURRENT_USER\SOFTWARE\Classes\MobaXterm.telnet\shell\open]
[HKEY_CURRENT_USER\SOFTWARE\Classes\MobaXterm.telnet\shell\open\command]
@="\"C:\\Program Files\\EVE-NG\\start_mobaxterm.bat\" \"%1\""
[HKEY_CURRENT_USER\SOFTWARE\MobaXterm]
[HKEY_CURRENT_USER\SOFTWARE\MobaXterm\Capabilities]
[HKEY_CURRENT_USER\SOFTWARE\MobaXterm\Capabilities\URLAssociations]
"telnet"="MobaXterm.telnet"
[HKEY_CURRENT_USER\SOFTWARE\RegisteredApplications]
"MobaXterm"="SOFTWARE\\MobaXterm\\Capabilities"
[HKEY_CURRENT_USER\SOFTWARE\Classes\telnet\shell]
[HKEY_CURRENT_USER\SOFTWARE\Classes\telnet\shell\open]
[HKEY_CURRENT_USER\SOFTWARE\Classes\telnet\shell\open\command]
@="\"C:\\Program Files\\EVE-NG\\start_mobaxterm.bat\" \"%1\""
[HKEY_CLASSES_ROOT\telnet\shell\open\command]
@="\"C:\\Program Files\\EVE-NG\\start_mobaxterm.bat\" \"%1\""
Make sure to adjust paths accordingly if needed.
I edited the reg script for windows 11.
credit to: [gcw on stackoverflow](https://stackoverflow.com/questions/62150858/how-to-use-mobaxterm-as-default-telnet-handler-in-eve-ng?newreg=9b1a0755bcab4eecacb547d8071f1cc1)