Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with DOS "NET" commands

Status
Not open for further replies.

Accessdabbler

Technical User
Oct 15, 2002
728
CA
Just learning the Net Commands available at the DOS prompt.

I've figured out how most of them work but I'm puzzled by one feature missing (?) from this command:

How can I see what computers are available on a network?

For example, I have 2 computers on my home network. Pretend I forget what the other computer name is. Is there a command I can type at the DOS prompt that will list the computers that are available?

Of course, I could go into My Network Places but I want to do this at the DOS prompt. Can I?
 
AccessDabler,

try this:

NET VIEW /WORKGROUP:yourworkgroup

where yourworkgroup is your workgroup.

then all machines in that group are listed.

give me a Star ! :)
I solve your problem.
 
I get, "There are no entries in the list."

One machine is Win2K Pro and the other is Win98SE. Does this matter?

Each machine is in a different workgroup.
 
You get no entries just typing 'net view'? You should at least get the machine you're on! Is the network working.

Try net view /domain:<your workgroup name> - in quotes if it has spaces (there is no /workgroup switch).
 
I tried using:

NET VIEW /DOMAIN

This gave me a list of the two workgroups. I could then do:

NET VIEW /DOMAIN:workgroupname

which gave me a list of computers within that workgroup.

Thanks for you help. I didn't realize that Domain also meant Workgroups (frankly, I'd think that there should be an additional command /WORKGROUP that is separate from /DOMAIN). As well, the NET command needs a command like this:

Net View * /domain

The * wildcard would mean to display all shares on all computers in all domains.

Ah well, Microsoft doesn't need any more programming ideas....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top