Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know that I can find out what a drive is mapped to with:

net use X:

But how do I resolve a share easily? Like \\JoshPC\SomeSharedFolder

Is there a way to get the fully qualified path?

share|improve this question
    
It's called a UNC. –  mdpc Jun 25 '13 at 16:55

5 Answers 5

up vote 2 down vote accepted

if you want to see the full path and you have admin privs on the remote workstation then the following will work

wmic /node:hostname share

share|improve this answer
    
I think this is what I'm after. With my example above, would that be something like "wmic \node:JoshPC SomeSharedFolder"? This doesn't work. I do have admin on the remote PC. –  Josh Comley Jun 7 '10 at 15:41
    
thats a forward slash / right and no just type "wmic /node:joshpc share" this will list all paths for the shares –  user33788 Jun 7 '10 at 16:07
    
also if you want to trim it do just a specific share you do the following "wmic /node:joshpc where "name like '%sharename%'" get path" –  user33788 Jun 7 '10 at 18:33
    
Absolutely perfect, thanks!! –  Josh Comley Jun 8 '10 at 10:16
    
wmic is a very powerful tool, if you can think it wmic can do it! tr –  user33788 Jun 8 '10 at 14:50

If you are asking how to see UNCs that you have browsed to but not mapped, you can do that by typing net use without a drive letter after it.

Also, what you listed isn't a fully qualified path. For it to be fully qualified, it would have to have the domain included in the server name.

If you are asking to see what shares a server has available, you cannot do this from a client. But you can do this on the server by using net share with no other parameters.

share|improve this answer

...and rounding out the possibilities discussed by MarkM: If you're trying to see where on Josh's PC the share SomeSharedFolder is on his hard drive, you can't do that from the client. From your perspective, the share name is the full path.

share|improve this answer

Given:

  • A share name of E$
  • A machine name of MYmachine
  • A domain of MYdomain.local

A cross domain fully qualified mapping to a machine share would be formatted like:

\\\MYmachine.MYdomain.local\E$
share|improve this answer

The "wmic" command didn't work for me but I was able to see all the shares and their absolute path (Resource) by executing this on the server that contains the shares:

net share
share|improve this answer

Your Answer

 
discard

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.