@echo offfor /L %%i in (1,1,255) do (echo %%istart ping 192.168.41.%%i)@echo onrem arp -a>>%temp%log.logrem type %temp%log.log|findstr "192.168.X"timeout /T 30arp -a > a.txttype a.txt