I've posted these script b4 but not as good as richgill's but I notice richgill's link that there's a problem when the user logs to WinME or 98, I believe it was design primarily for domain pc/users.
Try this:
---------------------------------------------------------
From the command prompt.
c:\>FOR /L %i IN (1,1,255) DO ping -a 192.168.0.%i then Enter.
(1,1,255) - (start,step,end) and %i is the variable.
-------------------------------------------------------
If you want the sesult to be in a file. (ping.txt)
c:\>FOR /L %i IN (1,1,255) DO ping -a 192.168.0.%i>>ping.txt
I just write the current user name into the computer description using a logon script - works a treat and lets me get the info from users and computers.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.