How to save output of ping command in a text file? [Solved/Closed]

vikas - May 31, 2010 at 05:02 AM - Latest reply:  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.

See more 

12 replies

Best answer
139
Thank you
C:\>ping google.com >> c:\Test.txt -t

Thank you, Subhash 139

Something to say? Add comment

CCM has helped 1851 users this month

rizvisa1 4481 Posts Thursday January 28, 2010Registration dateContributorStatus January 6, 2016 Last seen - May 31, 2010 at 12:52 PM
20
Thank you
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