>Attach a net volume.
>Execute VFP in administrator mode.
>GETFILE()
>
>VFP doesn't see the net volume.
>
>Work on Windows 7.
>A windows 10 bug ?
The fix for Windows 8 (and I am pretty sure should work in Windows 10 but I do not have time for testing it) is to edit the registry key HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ System and add a DWORD value named EnableLinkedConnections with a value of 1, after you reboot your computer you can enjoy your mapped drives in admin mode.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges