查询局域网指定段内存活IP

批量ping

for /L %i IN (起始,扫描间距,结束) DO ping -w 2 -n 1 10.224.131.%i

for /L %i IN (55,1,80) DO ping -w 2 -n 1 10.224.131.%i

输出到指定文件

arp -a > 111.txt

原文链接:https://www.cnblogs.com/alidydb/archive/2020/05/27/12971157.html