Running a Continuous Ping that doesn’t stop (on Windows)

If you open a command prompt in Windows, and do a ping test, you’ll notice that it will only perform four pings and then stop.  This is OK if you want to do a quick test, but, what if you want to perform a continuous ping that keeps pinging?

Well, we have the -t option!

ping -t <hostname or IP address>

This will now ping continuously until you stop it – by pressing Ctrl and C or closing the window!