tags:

views:

106

answers:

3

I have a UNC path of \\houtester\common\log library\graphics that I'm needing to use in my c# program and obviously it won't won't because of that blank space. How can I get this path to work?

Thanks

A: 

I was not aware that UNC paths cannot contain spaces.

Tom Cabanski
+3  A: 

Is that the full path? I'm assuming you may need \ prefixing your complete path. i.e:

string path = @"\\houtester\common\log library\graphics";

Also make sure that path is available from the machine you are attempting to connect from. Security settings could be botching you.

Pat
+1  A: 

Try using the literal string symbol '@' before the string @"\\houtester\common\log library\graphics"

Longball27