C# 映射网络驱动器读写文件,提示文件不存在解决办法
原文链接:https://social.msdn.microsoft.com/Forums/vstudio/en-US/34239be8-d112-4b4a-a006-77b716bef229/opening-files-on-a-mapped-network-drive-windows-forms-app?forum=csharpgeneral
解决办法,修改注册表
Locate and then right-click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Point to New, and then click DWORD Value.
Type EnableLinkedConnections, and then press ENTER.
Right-click EnableLinkedConnections, and then click Modify.
In the Value data box, type 1, and then click OK.