Getting LAN computers names only

  • Thread starter Thread starter kimiraikkonen
  • Start date Start date
K

kimiraikkonen

Hello,
I want to get names of avaible LAN computers available currently on
the same LAN, same as "only" names shown in "view workgroup
computers". I want to get it from command prompt and i know "net view"
does it. But i ONLY want to get computer names without "\\"prefix.

However, is there any shell command in XP that shown LAN computer
"names" only?

Thanks.
 
There is a free utility called Angry IP scanner that can scan your network
and create various reports to a text file that you can edit if you want.
Just be sure to check out it's options as in you wish to disply hostname and
possibly only display live hosts. Otherwise you can capture your net view
results to a text file and edit the text file as in net view>c:\lan1.txt .

Steve

http://www.angryziber.com/ipscan/
 
There is a free utility called Angry IP scanner that can scan your network
and create various reports to a text file that you can edit if you want.
Just be sure to check out it's options as in you wish to disply hostname and
possibly only display live hosts. Otherwise you can capture your net view
results to a text file and edit the text file as in net view>c:\lan1.txt .

Steve

http://www.angryziber.com/ipscan/

Thanks but i was looking for shell command to use into my own
software. Isn't there a command prompt function except "net view" that
shows avaiblable LAN computer list?

Thanks.
 
Offhand I can't think of one. You might try some of the switches with the
nbtstat command to see if it can do what you want.

Steve
 
Back
Top