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

- 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 1640 users this month

Posts
4481
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
January 6, 2016
- 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