bat脚本

定时执行:

@echo off
@set interval=0.5
:again
echo execute test.bat
CALL test.bat
echo sleep %interval%s
ping -n %interval% 127.1>nul  
echo restart
goto again
pause

同时启动多个exe

start "" "a.exe" -args

start "" "a.exe" -args

...

posted @ 2012-10-29 22:10  good90  阅读(221)  评论(0编辑  收藏  举报