@echo offset/pn=:loopfindstr /n .* a.txt|findstr "^%n%:" >nul&&echo 已有%n%行,命令加这里||(ping /n 60 127.1 >nul&goto :loop)pause