batch file to ping and tracert an IP

Microsoft Windows xp professional w/serv...
May 30, 2010 at 18:35:28
Specs: Windows XP
I need help to write a batch dos to execute the below cmd:

ping <IP> -n 20
tracert <IP>

I need this both to be push into a log.

also, can this batch file to be cron running at certain hour?

thanks.


See More: batch file to ping and tracert an IP

Report •


#1
May 31, 2010 at 10:18:50
tracert ibm.com > trace.log
ping ibm.com > ping.log


=====================================
Helping others achieve escape felicity

M2


Report •

#2
June 2, 2010 at 13:01:31
olloong: can this batch file to be cron running at certain hour?
WinXP doesn't have cron. It does have Scheduled Tasks, and yes it can.

Report •
Related Solutions


Ask Question