Jump to content

How to get the list of destinations mapped to my user? By destinations I mean network drives/locations.


Recommended Posts

Guest Ashok AravindS N
Posted

Hi, I am currently trying to find a way to determine all the drives and network locations attached to my pc in cpp. For the Logical Drives I can use GetLogicalDrives(), I am looking for ways to get the list of network locations added. So, far I have found the list at these 2 places.1. $env:APPDATA\Microsoft\Windows\Network Shortcuts2. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 and access using RegOpenKeyEx() and RegEnumKeyEx().Which is the recommended way of doing this? In the first option I need to resolve the shortcut to get what is

 

Continue reading...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...