UsernameIssues, you have a valid point there. However, and please correct me if I am wrong, hiding a computer from NET VIEW query also hides it from Windows Explorer > Network view.
If I read OP's question correctly he wants to use a command that shows in command prompt the same computers than he can see in Windows Explorer > Network; hiding a computer from network would hide it both in Windows Explorer > Network and NET VIEW query, ergo command prompt NET VIEW query shows exactly the same computers than Explorer, which is what OP asked.
Kari
I really fear coming across as being argumentative or picky or worse: "look what I think I know" - hence my repeated caveats that I'm posting this just for the sake of clarity. Google will index this thread based on its title (and post content - but more weight is given to the title). I don't want folks to use NET VIEW and think that they have a listing of
all of the computers on the network. (Mixed operating systems can mess these lists up as well.)
Look at the original post. It does not mention Windows Explorer. Now look at post #3 - it clarifies (and considerably modifies) the original request. Your answer speaks specifically to the request made in post #3. (And for most people on a home network, that is a perfectly good answer.)
I VPN'd into my office. NET VIEW showed 55 computers (in reality there are 1000s of computers on the network at the moment). The Windows Explorer > Network view showed 58 computers. If I go to START > RUN and type in a UNC to a computer that I know is not on the same subnet as my office computer, that computer is added to the view shown in Windows Explorer > Network, but is still not shown in NET VIEW.
I don't have any computers that I'm willing to test by hiding them - so I cannot speak specifically to your question about "are they hidden from both lists". I don't even know enough to say how NET VIEW's list differs from Windows Explorer > Network list to predict which method of hiding might hide a computer from one list or the other. Maybe NET VIEW depends on NetBIOS over TCP/IP. Maybe Windows Explorer > Network depends on the computer browser service.
All I know is what I've seen in the past - not why I've seen it