Created
December 14, 2012 18:29
-
-
Save johngh/4287500 to your computer and use it in GitHub Desktop.
VBS script to launch a list of putty sessions (called by their saved session name in PuTTY)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set objShell = CreateObject("WScript.Shell") | |
dim hosts | |
hosts = "host1 host2 host3 host4 host5 host6" | |
dim host | |
for each host in split(hosts) | |
objShell.Exec "C:\Program Files\PuTTY\PUTTY.EXE -load " + host | |
next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this file is perfect and i have successfully logged in to putty terminal
now i need to execute the below command
cd /u01
i need it to be done automaticaaly when i open vb script