1. 首页
  2. 网络技术
  3. 网络基础
  4. 扫描局域网ip.rar

扫描局域网ip.rar

上传者: 2020-07-25 06:25:54上传 RAR文件 257B 热度 20次
@echo off set /a ip0 = "192" set /a ip1 = "168" set /a ip2 = "1" set /a ip3 = "1" :ping ping %ip0%.%ip1%.%ip2%.%ip3% -n 1 -w 10 | find "TTL" >>ip.txt set /a ip3 = %ip3% + "1" if %ip3% == 255 (set /a ip2 = "%ip2%" + "1") & (set /a ip3 = "1") if not %ip2% == 255 goto ping
用户评论