for /L %i in (1,1,254) do @ping -n 1 -w 100 192.168.56.%i | find "TTL=" nmap -sn 192.168.56.0/24