A Nice Colourful Ping
I've put the following into a .cmd file called NEWPING.CMD
echo off & cls
PING -n 1 %1% | FIND "TTL="
IF ERRORLEVEL 1 (SET OUT=0C & echo Request timed out.) ELSE (SET OUT=0A)
I then added the following custom tool:
This way you can select a bunch of servers, have a ping window open for each of them that goes green while the server is responding and red when they timeout.
(Code is a modified version of Albin Sebastian's code that can be found at http://www.binbert.com/blog/2010/09/bat-file-for-continuous-ping-with-backgrou nd-colour-changes/
[EDIT - Found a typo, code above corrected byt replacing %S% with %HOSTNAME%]
[This message has been edited by Brinh123 (edited 06-16-2011).]
This may seem obvious to some, but the SLEEP command does not ship
with WindowsXP; apparently it's available from within the Server 2003 Resource
As each window opens by itself how do you know which server is which?