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
142
Thank you
C:\>ping google.com >> c:\Test.txt -t

Say "Thank you" 142

A few words of thanks would be greatly appreciated. Add comment

CCM 5820 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
754
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