I used it to put together the following.
for /L %%V in (1,1,255) do ping -n 1 -a 193.168.1.%%V >> c:\pingedMachines.txt
This pings every device in a given subdomain resolving the names as it does.
there are tools out there that will do this for you, but this will work on a vanilla XP machine. You could even parse the output to prettify it but if you need something
rough and ready this'll do.
really useful if that router isn't at the ip address you thought it was.