Skip to content

Instantly share code, notes, and snippets.

@koma5
Created January 21, 2014 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koma5/8535634 to your computer and use it in GitHub Desktop.
Save koma5/8535634 to your computer and use it in GitHub Desktop.
ping until it pings back and than do something...
:wooot
ping -n 5 example.com
IF "%ERRORLEVEL%"=="0" GOTO :end
GOTO :wooot
:end
"C:\Program Files (x86)\PuTTY\putty.exe" ssh://root@example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment