Page 1 of 1

MobaXterm Wrapper

Posted: Thu Dec 05, 2019 11:58 am
by uebi
Hi all!

I'm currently playing around with MobaXterm as they have some nice Cisco highlighing on the CLI, besides some other cool features, but there was no wrapper to use MobaXterm instead of PuTTY or SecureCRT (which are both great, of course).

mobaxtermcisco.png


The following code in a .bat file would make a Telnet URL handler for Windows, if somebody wants to try it out:

Code: Select all

@ECHO OFF
SET S=%1
SET S=%S:telnet://=%
SET S=%S::= %
start C:\Apps\MobaXterm\MobaXterm_Personal_12.3.exe -newtab "telnet %S%"
Please pay attention to the path where your (portable) MobaXterm is.

The wrapper will be called by the registry, just like the VNC wrapper etc.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\telnet\shell\open\command]
@="\"C:\\Apps\\mobaxterm.bat\" %1"
Please pay attention to the path again!



Have fun,
uebi

Re: MobaXterm Wrapper

Posted: Thu Dec 05, 2019 4:25 pm
by sounknownyet
Good job. I was wondering why nobody had done it before.