Scan this script can be completed within a few seconds
No need to change the contents of the script, as follows:
@echo off
FOR /L %%I in (1,1,255) do ping 192.168.1.%%I -n 1 -w 100
arp -a >C:\Users\Administrator\Desktop\1.txt
exit
After saving the file, double-click execution will be 1.txt, which will survive all IP hosts