ok guys here what i want to do
i want to output time alongwith ping into a text file ..
like this
time ping'd google.co.in
time ping'd google.co.in
i have written the batch file like this
but i get results like this
i want to remove that ping statistics line alongwith its bottom four line and want only the
time ping
time ping
EDIT
----------------------------------------------------------------------------------------------
like this output example
thing , what to correct in the batch code ??
i want to output time alongwith ping into a text file ..
like this
time ping'd google.co.in
time ping'd google.co.in
i have written the batch file like this
but i get results like this
07:37 PM
Pinging Google [74.125.235.51] with 32 bytes of data:
Reply from 74.125.235.51: bytes=32 time=340ms TTL=50
Ping statistics for 74.125.235.51:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 340ms, Maximum = 340ms, Average = 340ms
07:37 PM
Pinging Google [74.125.235.51] with 32 bytes of data:
Reply from 74.125.235.51: bytes=32 time=340ms TTL=50
Ping statistics for 74.125.235.51:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 340ms, Maximum = 340ms, Average = 340ms
07:37 PM
i want to remove that ping statistics line alongwith its bottom four line and want only the
time ping
time ping
EDIT
----------------------------------------------------------------------------------------------
like this output example
8:09 PM Reply from 74.125.235.51: bytes=32 time=390ms TTL=50
8:10 PM Reply from 74.125.235.51: bytes=32 time=385ms TTL=50
8:11 PM Reply from 74.125.235.51: bytes=32 time=388ms TTL=50
8:12 PM Reply from 74.125.235.51: bytes=32 time=387ms TTL=50
thing , what to correct in the batch code ??