Why does running with elevated privileges force the use of UNC paths? I need to elevate my process AND keep the drive mappings I have. Yet when I run elevated the mappings are replaced with the UNC path. For example:
textBoxPath.Text = Application.StartupPath;
returns "F:\myProgram\tools" when run normally. But when run elevated it returns "\server\share\myProgram\tools"
I'd like to find a way to either convert the UNC to the mapped path or prevent it altogether.
Thanks