1.

Solve : write ping and tracert to a txt file.?

Answer»

Hi! I need help with writing a BATCH file that would ping google.com every 5MINS, tracert google.com every 30mins, save the results to a txt file every 5 hours. if you could help me with this I would be GRATEFUL. You can use the windows scheduler to set off your tasks, logging the results is easy,

AnyCommand > FILENAME
puts the output of AnyCommand into filename, and
AnyCommand >> filename
does the same, but adds it on to the end of the file if it already holds info (> on its own recreates the file)

Graham



Discussion

No Comment Found