how to write and automate dos batch file for pinging an IP

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
olloong
Posts: 1
Joined: 30 May 2010 19:12

how to write and automate dos batch file for pinging an IP

#1 Post by olloong » 30 May 2010 19:22

Hi all,

I need help here to write a dos batch file to do the following:-

ping to <IP> n -20
tracert <IP>

I need this dos batch file to be run every 4 hours. How should i cron it?

Can someone guide me on this or have a sample for me to refer?


Post Reply