miteshlad2003
Technical User
Hi,
I've trying to read the output from a ping. The out is like this in a textfile:
Packets: Sent = 5, Received = 0, Lost = 5 (100% loss),
or
Packets: Sent = 5, Received = 0, Lost = 30 (100% loss),
I want to see what the value is of lost each time. If its over 25 then I 'll issue a wscript to the screen to say the server is down...otherwise a message to say the server is OK.
Thanks
I've trying to read the output from a ping. The out is like this in a textfile:
Packets: Sent = 5, Received = 0, Lost = 5 (100% loss),
or
Packets: Sent = 5, Received = 0, Lost = 30 (100% loss),
I want to see what the value is of lost each time. If its over 25 then I 'll issue a wscript to the screen to say the server is down...otherwise a message to say the server is OK.
Thanks