title: Unrecognized escape sequence
body: <p>VS 2005 WinXP</p>
  <p>I am writing an application that will connect to a samba share.</p>
  <p>However, in my path I am getting an compile error:</p>
  <pre><code>unrecognized escape sequence
  </code></pre>
  <p>The path I am using is this:</p>
  <pre><code>string path = &quot;\\Samba\sun005\admin_config\test.txt&quot;;
  </code></pre>
  <p>I have also tried the following using double backlashes:</p>
  <pre><code>string path = &quot;\\Samba\\sun005\\admin_config\\test.txt&quot;;
  </code></pre>
  <p>However, the above compiles ok, but when it runs it complains &quot;cannot find the path&quot;</p>
  <p>Also tried the following:</p>
  <pre><code>string path = @&quot;\\Samba\sun005\admin_config\test.txt&quot;;
  </code></pre>
  <p>When I check in the debugger I get the following string</p>
  <pre><code>\\Samba\\sun005\\admin_config\\test.txt
  </code></pre>
  <p>I get access denied in my exception. Now that I am thinking about it. I haven't set the username and password. I think that is my problem.</p>