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

  • Thread starter Thread starter Ashok AravindS N
  • Start date Start date
A

Ashok AravindS N

Guest
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...
 
Back
Top