I need to create a directory on a mapped network drive. I am using a code:
DirectoryInfo targetDirectory = new DirectoryInfo(path); if (targetDirectory != nu
Based on the fact, mapped drive letters don't work, the simple solution is to type the full network path.
Aka,
my R:/ drive was mapped to \\myserver\files\myapp\
R:/
\\myserver\files\myapp\
So instead of using
"R:/" + "photos"
use
"\\myserver\files\myapp\" + "photos"