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

...

你可能感兴趣的:(bat)