Need 'Ping' help

Soldato
Joined
14 Oct 2007
Posts
2,738
I am trying to run a ping test on an IP address that has intermittant network issues.

How can I ping it 500 times and then create a .txt log file once it's done?

Thanks
 
It'll save to wherever the command prompt is, which usually defaults to your user directory.

To save it on the desktop do:
ping -n 500 www.bbc.co.uk > %userprofile%\desktop\out.txt
 
Last edited:
Make sure that "IP address" isn't ignoring the pings though. For example, if it's a desktop running a firewall it might stop responding and screw up your results.
 
I am trying to run a ping test on an IP address that has intermittant network issues.

How can I ping it 500 times and then create a .txt log file once it's done?

Thanks

You know its intermittant so why are you bothering to ping it? What are you trying to acheive? If I was you I'd loop say 20 pings (ping -n 20 ip) and put a loop in to echo out the time and date. Atleast then when (if) the ping drops you have a rough time slot. With your method if ping does drop, how will you know when?

I'd also opt to put in an increased timeout just to be safe.
 
Back
Top Bottom