Ping in interval on Windows with commandline

How do you ping in interval in Windows ? This is how you do it. Just type this in Start => Run

cmd /c "for /L %i in (1,0,2) do @ping 1.2.3.4 > nul & sleep 10"

This would ping an address in interval of 10 seconds without echo the results but if you do then use this next command

cmd /c "for /L %i in (1,0,2) do @ping 1.2.3.4 & sleep 10"

Notice the '>nul' is exclude.

Happy trying and now you don't need all those fancy utilities.

Comments

Popular Posts