ping some ips and popup a message.

December 21, 2010 at 12:31:10
Specs: Windows XP
Hi all,
I want to ping some ips and i need pop up a message if anyone goes down.

Thanks in advance.
Manjunath


See More: ping some ips and popup a message.

Report •


#1
December 24, 2010 at 12:33:55
Which sort of ips you want to ping ?
Either create a text file will all IPs or use a loop to automtiacly ping all IPS in a range.
then find the stinrg "Timed out" from the ping output. if the find success then use vbscrit to show the popup.
put this single line in batch file where you want to see the pop up.

echo wscript.echo "host 192.168.1.11 is down." >1.vbs && wscript 1.vbs
you can use a vriable instead of 192.168.1.11

Subhash Chandra.


Report •
Related Solutions


Ask Question