How can you account for network drives in C#? For example, the drive may be \\ServerName\\folder\\ and I may have it mapped to N:\\folder\\ & you may have it mapped to Q:\\folder\\
If I try to write the code as \\ServerName\\folder I get an error that says can not find C:\\ServerName\\folder
Loading
VulpesPosted Feb 13, 2013, 2:47 PM
// either
string path = "\\\\ServerName\\folder\\";
// or
string path = @"\\ServerName\folder\";