Ping the network with delay of 1 second and store the output with timestamp

Unanswered Question
Sep 16th, 2010

I want to write a program to ping the network with the delay of 1 second and beside it, timestamp should appear. Hence, I should get to know the time of each ping.
Also, I want to store the output in notepad.

The output should be like this

Reply from 10.145.61.172: bytes=32 time<1ms TTL=128 10:53:26
Reply from 10.145.61.172: bytes=32 time<1ms TTL=128 10:53:27
Reply from 10.145.61.172: bytes=32 time<1ms TTL=128 10:53:28


I have written a program. Can anyone please modify it?

:START
echo %time >>C:\ john.txt
time/t && Ping 10.142.22.221 >>C:\ john.txt
goto START

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion

Related Content