From Mage
Revision as of 03:53, 25 June 2018 by Bret (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A quick and dirty loop for launching a buttload of PuTTY sessions. Make sure to change foo to your desired username.


@echo off
cd "C:\Program Files\PuTTY"
FOR /F "tokens=*" %%i IN (C:\massPutty\list.txt) DO (
   echo Starting PuTTY for %%i
   start putty.exe -ssh foo@%%i
cd C:\massPutty\