View Single Post
Old 08-09-2009, 11:58   #2
Kymmy
Inactive
 
Join Date: Dec 2007
Posts: 18,385
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Re: I need help with a batch file

To output tracert to a file it's just as simple as adding > XXXX.txt to the end, if you want it to append to a file it's >> XXXX.txt

For example

Code:
tracert bbc.co.uk > trace.txt
will give you the traceroute in a file called trace.txt

If you repeated it with
Code:
tracert bbc.co.uk >> trace.txt
it would add a 2nd tracert to the same file.

Just loop that in a batch file 100 time (there's a few different methods) and you should have you file.
Kymmy is offline   Reply With Quote