- Feb 10, 2001
- 9,837
- 0
- 0
Hi all,
I'm working on a little something right now to work out the average speed of my ADSL line over a defined period. It's going to be very very simple, just .bat files and Windows Scheduler so it runs on regular intervals, but I need to know how to pipe the output from ping to a text file, without overwriting the contents of that file.
e.g.
ping www.boltblue.com >d:\ping.txt send the desired output to a text file.
However, running the same command again overwrites the text file, and I would like to be able to append the next output onto the end of ping.txt, possibly even with the time & date stamped before it?
Could anyone tell me if this is possible, and if so, how?
Thanks,
Dopefiend
I'm working on a little something right now to work out the average speed of my ADSL line over a defined period. It's going to be very very simple, just .bat files and Windows Scheduler so it runs on regular intervals, but I need to know how to pipe the output from ping to a text file, without overwriting the contents of that file.
e.g.
ping www.boltblue.com >d:\ping.txt send the desired output to a text file.
However, running the same command again overwrites the text file, and I would like to be able to append the next output onto the end of ping.txt, possibly even with the time & date stamped before it?
Could anyone tell me if this is possible, and if so, how?
Thanks,
Dopefiend