Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mapped Drives

Status
Not open for further replies.

NiceButDim

Programmer
Joined
Feb 12, 2002
Messages
154
Location
GB
I want to be able to obtain details relating to mapped drives (ie. the path to which they are mapped and the drive letter).
Can anyone point me in the direction of a function that would provide such information?
Thanks.
 
I can expand on this in that I know I can use GetVolumeInformation in order to get a list of the drive letter currently active. What I need is a way of knowing whether a drive is mapped or not, and if it is mapped, where is it mapped to.
 
You can use GetDriveType() to determine if it's a remote network drive.
 
That's solved part of my problem. Thank you!

Still trying to find a way of determining where a 'REMOTE' drive is actually mapped to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top