1: 2: 3: 4: 5: 6: 7:
@echo off for /l %%p in (1,1,254) do ( echo %%p ping -n 1 -w 100 -a %%p |find /i "Packet" )