Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to browse a network for shares from the Windows command prompt?

I want to map a drive to a network share (pushd), but I can't remember the exact name of the machine or share. Is there a way to browse the network to find the shares via the command prompt?

Background: my Windows install was corrupted after an update and nothing's working now. I haven't backed up in a month, and I'm trying to do one final backup before I wipe it clean.

share|improve this question
up vote 18 down vote accepted

net view
to get a list of computers. If you have a computer's name, try
net view \\computer to get a list of shares.


Once you know what share you're after, you want to go with net use. Map a drive with
net use x: \\computer\share
(replace X: with the drive letter you want to assign).


share|improve this answer
thanks. It looks like I may have to start the network service for this to work (I'm running from the system recovery options command prompt). I think I need to use net start, but I'm not sure which service to start for a wired Ethernet connection. any idea? – sharoz Apr 23 '11 at 23:38
Afraid I don't off the top of my head. Which flavor of Windows? – Chris_K Apr 24 '11 at 2:26
It was windows Vista. Nevermind though. I just bought a USB drive (2tb for 100 bucks!) since my nas was such a pain. Thanks for the help though! – sharoz Apr 24 '11 at 3:24
@sharoz: The services might be "Workstation" (SMB client) and "Browser" (computer list manager). – grawity Apr 24 '11 at 13:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.