查询当前网段的所有在用IP
For /L %i in (0,1,254) DO ping 192.168.10.%i >>D:\IP.txt
https://www.cnblogs.com/misswangxing/p/10718556.html
https://blog.csdn.net/liu066154/article/details/83592824