![Com Com](/uploads/1/2/6/2/126238469/237043447.png)
PuTTY is the most popular SSH client for Windows. One, and probably the only one, of PuTTY drawbacks is that you need to start a new copy of PuTTY every time you open a new connection. So if you need e.g. 5 active connections you run 5 PuTTY instances and you have 5 PuTTY windows on the desktop.
![Serial Serial](/uploads/1/2/6/2/126238469/146494384.png)
Serial Connection – Windows Overview This page will walk you through installing drivers and software necessary for serial connection in Windows. Prerequisites 1. FTDI drivers: FTDI drivers come preinstalled on Linux systems and newer versions of the Windows. If your Windows does not support FTDI drivers, you will need to. R/PowerShell: Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM.
MTPuTTY (Multi-Tabbed PuTTY) is a small *FREE* utility enabling you to wrap unlimited number of PuTTY applications in one tabbed GUI interface. You are still continue using your favorite SSH client, but you are no longer messing around with PuTTY windows - each window will be opened in a separate tab.
MTPuTTY Features
All PuTTY features
Supports all PuTTY protocols - SSH, Telnet, Rlogin, Raw. Supports PuTTY session. You can control and change PuTTY command line parameters. You can run PuTTY configuration from within the program.
Can automatically login the remote servers and 'type' your passwords. Can run any script after login. Can 'type' a script in several PuTTY tabs simultaneously.
Clear tabbed user interface. Servers are grouped in a sidebar. Taskbar to quick access to basic program tasks. Any PuTTY tab can be detached and converted into a general PuTTY window.
Native Win32 code - no need to have any libraries (like .NET, VB etc). Multithreaded automation tasks - freezing in one PuTTY tab will not freeze the other ones.
putty-serial.nsi
# Wrap putty-serial.vbs to exe |
Name'PuTTY Serial' |
Icon'putty.ico' |
OutFile'putty-serial.exe' |
InstallDir'$TEMP' |
RequestExecutionLeveluser |
SilentInstallsilent |
Section |
SetOutPath$INSTDIR |
File'putty.exe' |
File'putty-serial.vbs' |
ExecShell''''$TEMPputty-serial.vbs'' |
SectionEnd |
putty-serial.vbs
ConstPUTTY_PATH='putty' |
' Return array of serial port number |
FunctiongetCOM() |
Dimfso,com() |
ReDimcom(-1) |
Setfso=CreateObject('Scripting.FileSystemObject') |
Fori=1To20 |
Dimf,found |
OnErrorResumeNext |
Setf=fso.OpenTextFile('COM'&i&':',2) |
' Err.Clear |
found=(Err.Number=0) |
f.Close |
OnErrorGoto0 |
IffoundThen |
ReDimPreservecom(UBound(com)+1) |
com(UBound(com))=i |
EndIf |
Next |
getCOM=com |
EndFunction |
DimWshShell,com |
SetWshShell=WScript.CreateObject('WScript.Shell') |
com=getCOM() |
IfUBound(com)=-1Then |
WScript.Echo'No COM found' |
WScript.Quit |
EndIf |
IfUBound(com)=0Then |
CreateObject('WScript.Shell').Exec(PUTTY_PATH&' -serial COM'&com(0)) |
WScript.Quit |
EndIf |
' COM more than 1 |
Fori=0toUBound(com) |
Dimanswer |
answer=WshShell.Popup('Use COM'&com(i)&' ?',,'COM port',4+32) |
Ifanswer=6Then |
CreateObject('WScript.Shell').Exec(PUTTY_PATH&' -serial COM'&com(i)) |
WScript.Quit |
EndIf |
Next |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment