5i365 (我心飞扬)当前离线
上尉
@echo off set status=false :checkstatus for /f "delims=" %%i in ('netstat -aon^|findstr "8010"') do ( if "%%i" 包含LISTENING单词 (set status=true) ) if "%status%"=="true" ( start notepad ) else ( ping -n 5 127.0.0.1>nul goto :checkstatus )复制代码
idwma 当前离线
少校
@echo off set status=false :checkstatus for /f "tokens=4 delims= " %%i in ('netstat -aon^|findstr "8010"') do ( if "%%i"=="LISTENING" (set status=true) ) if "%status%"=="true" ( start notepad ) else ( ping -n 5 127.0.0.1>nul goto :checkstatus )复制代码
评分人数
TOP
lancer 当前离线
三级士官