Sunday, September 11, 2011

Run a Batch File to Continuously Ping an IP Address!

A batch file is a text file containing a series of commands intended to be executed by the command interpreter. If you want to have a shortcut to quickly and continuously ping a website to verify that it is online or for other similar reasons, you can do so by placing the "ping" command inside of a batch file.

  • Click "Start," Browse All Program> Accessories Click "notepad" and press "Enter" to open the Notepad utility.
  • Type "ping -t" inside the text file on a single line, without quotes, where "" is the site you wish to ping.
  • Click "File" then click "Save," then select "All files" as the "Save as type" option.
  • Save the file with the name "pinger.bat" -- the file extension "bat" is the batch file extension.
  • Close Notepad and double-click the batch file to run it.

No comments:

Post a Comment