How to save output of ping command in a text file?

Solved/Closed
vikas - May 31, 2010 at 05:02 AM
 abcd - Jun 3, 2018 at 01:08 AM
Hello,

i want to save the output of either dos prompt or either c program output in a fixed file.that output I will be use in future.

Related:

2 replies

C:\>ping google.com >> c:\Test.txt -t
141
thanks.......Very usefull..
0
thanks '
0
great tip - THANK YOU :O)
0
thanks its working
0
thanks
0
rizvisa1
Posts
4479
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
769
May 31, 2010 at 12:52 PM
well in dos you can direct it to a file with a > to create new or >> to append to exisitng

ping www.google.com >> mypings.txt
20