views:

42

answers:

2

I want to run a batch file which contain command arp -d * ( used to flush the MAC entry table)

I want to execute this batch file continuously after 20-20 minutes .. regulary ? How can i do this with batch programming ?

Plz guide me ..

hoping for quick and positive response ..

+2  A: 

With the following links you'll be able to achieve what you want:

How to execute commands in a batch file in timed intervals.

Run a program every 30 seconds

run batch file every 30 seconds

Leniel Macaferi
A: 

If you dont have the sleep command on your system you can get it from the Windows Resource Kit.

:BEGIN
ARP -d *
SLEEP 1200 
GOTO BEGIN
KSimpson
yeah .. i got it frm above link.. i downloaded sleep.exe and put it in c:windows:system32
mr_eclair