How can I access a mapped network drive with System.IO.DirectoryInfo?

后端 未结 7 1691
无人及你
无人及你 2020-12-28 13:03

I need to create a directory on a mapped network drive. I am using a code:

DirectoryInfo targetDirectory = new DirectoryInfo(path);
if (targetDirectory != nu         


        
相关标签:
7条回答
  • 2020-12-28 13:52

    Are you mapping with the exact same credentials as the program is running with?

    0 讨论(0)
提交回复
热议问题