Share via

Ping Script

Anonymous
2017-02-09T21:27:25+00:00

Hello,

I have an old batch file that pings and reports the result into a logfile.

Lately, we've noticed our internet keeps dropping but it's sporatic so sitting and looking at the command window or filtering through the logfile can take all day especially if there are no issues.

What I'm looking for is a continuous ping to our router 192.168.0.1 -t

If the reply does not equal "Reply from 192.168.90.1: bytes=32 time<1ms TTL=64" than the result would be logged into the logfile with the date and time

thank you,

KSJ

Windows for home | Previous Windows versions | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2017-02-09T22:35:06+00:00

    To set/edit ping,open cmd,type: ping /HELP   or for a ping script thats already configured,go to microsoft/TechNet

    script library,here is its link.

    https://social.technet.microsoft.com/Search/en-US?query=windows%207%20ping%20script&beta=0&ac=5

    https://gallery.technet.microsoft.com/site/search?f[0].type=supportedplatform&f[0].value=win10&f[0].text=windows%2010

    both get you script center

    0 comments No comments