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

- - 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 

2 replies

Best answer
approved by Jean-François Pillou
139
Thank you
C:\>ping google.com >> c:\Test.txt -t

Say "Thank you" 139

Glad we were able to help! Love us? Write us a review! Rate CCM

CCM 4885 users have said thank you to us this month

very easy.. thanks
thanks a lot
thanks a lot
Top Job
Posts
4475
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
January 6, 2016
913
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