@echo off
:AA
test.exe
ping -n 1000 127.1 >nul
goto AA

~~~~~~~~~~~~~~~~~~~~~~~~~~~
每隔1000秒跑一次test.exe