• Skip to primary navigation
  • Skip to main content
  • Skip to footer

JH Tech Services

A knowledgebase

  • Portfolio
  • Knowledgebase
  • About

TPM – Ping batch file

July 18, 2008 by jer0dh

Using the batch file below to log pinging to ISP gateway 75 times every 10 minutes. I had to install Windows 2003 Resource kit from microsoft.com to get the sleep.exe command.

REM testing Internet Connection

:loop
DATE /T >>d:sharesappsbatchpinggw.log
TIME /T >>d:sharesappsbatchpinggw.log
ping -n 75 66.91.146.97 >>d:sharesappsbatchpinggw.log
sleep 600
goto loop

  • Knowledgebase
  • Uncategorized

Footer

  • Portfolio
  • Knowledgebase
  • About

© 2023