6816 shaares
for /l %i in (1,1,254) do @ping 192.168.1.%i -w 10 -n 1 | find "Reply"
This will ping all addresses from 192.168.1.1 to 192.168.1.254 one time each, wait 10ms for a reply (more than enough time on a local network) and show only the addresses that replied.