Actual Drive Letter of Network Drive


S

Steven J Reed

I am attempting to find the Drive Letter (and directory
info) from the drive as it is on the computer that owns
the drive.

In other words, My K drive is mapped to a network share
called GIS. On the Network computer, this is F:\GIS. How
can I find this relationship.

I've been looking through WMI and would think that there
was something there, but so far I haven't found it. I'm
attempting to attach a database that is on the server, but
without the local address I can't do it.

Thanks for you help!
 
Ad

Advertisements

J

Jerry Ham

Use Interop with the NetShareGetInfo function and the info level of 2 or
502.

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top