Computer Hope
Microsoft => Microsoft DOS => Topic started by: exo on September 30, 2008, 02:36:53 PM
-
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