BAT-VBS 当前离线
少将
ping -n 1 127.0.0.1 | findstr /c:"Reques time out" /c:"Destination host unreachable"复制代码
TOP
@echo off >Success.txt type nul >Fail.txt type nul for /f %%a in (ip.txt) do ( ping %%a && echo>>Success.txt %%a || echo>>Fail.txt %%a )复制代码