studybat2 当前离线
列兵
Perl 当前离线
中尉
@echo off set f=500 :loop for /f %%a in ('dir /b *.txt ^| find /c /v ""') do ( set n=%%a ) if %n% gtr %f% ( start hebing.bat ) ping -n 5 127.1 >nul goto :loop复制代码
TOP
CrLf 当前离线
论坛巡查
@echo off set skip=500 dir /b /a-d *.txt>tmp.tmp for /f "skip=%skip%" %%a in (tmp.tmp) do set bat=1 if defined bat call hebing.bat复制代码