For a hack, you can shell out to a command window, issue NET USE and capture the output, and parse that.
On Mon, Apr 10, 2017 at 5:15 PM, Mike mike@ggisoft.com wrote:
FWIW, the REGISTRY solution you sent a link to doesn't work well for me.
I have 2 mapped drives to a local server (same subnet as my workstation) and 4 mapped drives to remote servers via VPN.
The REGISTRY key you send the link to only has one of the 6 mappings.
I suspect there's other sources, but sorry, I don't know what they are.
Mike Copeland
mbsoftwaresolutions@mbsoftwaresolutions.com wrote:
I use GETFILE() to select a file from the network. I want the resulting filename (saved elsewhere) to have the UNC drive mapping instead of the mapped drive letter. Just wanted to check to see if anyone has this before I stick-build it using registry classes. (See https://pattersonsupport.custhelp.com/app/answers/detail/a_id/8981/~/viewing...)
Thanks! --Mike
[excessive quoting removed by server]