cmd中輸入code
for /L %i IN (1,1,254) DO ping -w 2 -n 1 192.168.1.%icmd
for /L %i IN (1,1,254) DO ping -w 2 -n 1 192.168.1.%i
而後輸入arp -aping