I want to make ping less verbose for my batch script, but I do want it to show time-out messages and other errors.
This is what I've got so far:
@echo off :BEGIN time /T ping 127.0.0.0 -n 1 | find "TTL" ping 127.0.0.1 -n 1 | find "TTL" ping 184.108.40.206 -n 1 | find "TTL" sleep 10s GOTO BEGIN
This works, but it is hard to spot the errors on 127.0.0.0 and 220.127.116.11 that give an error message and a time-out message. (I mostly care about the time-out actually).
Is there any way to make
find filter lines with time out and TTL, or perhaps another trick i can use?