Finding the physical local path associated with a Share UNC folder

Open a command prompt window and type net share, then hit Enter.


In addition to using net share, you can also use wmic - this allows you to query remote systems (with /node:) and also get only those you're interested in, eg.

List shares named Share1.

wmic /node:Server1 share where name="Share1" get name,path`

Pattern match to find only shares containing temp:

wmic share where 'name like ^"^%temp^%"' get name,path

Please note those strange looking ^ are carets - cmd escape char - those are used to avoid cmd to expand env. variables. If used from within wmic, they are not needed.

Finally, you could execute this against many machines at once and save list as nicely formatted html table (among other formats):

wmic /node:server1,server2 /output:shares.html share get name,path /format:htable

(you could also use a file to specify hosts with wmic /node: @file)



Windows 7, via Remote Desktop Connection

If that machine has Windows and you can connect to it via Remote Desktop Connection:

Start > right click on Computer > Manage > Computer Management (Local) > System Tools > Shared Folders > Shares

Computer Manage

Computer Management

If you want to stop sharing, right click on one line > Stop Sharing:

enter image description here

Tags:

Windows

Unc