illegal character in path
<p>I am trying to get to a file located in </p>

<pre><code>C:\Program Files (x86)\test software\myapp\demo.exe
</code></pre>

<p>In VS debugger i see the path as:</p>

<pre><code>"\"C:\\\Program Files (x86)\\\test software\\\myapp\\\demo.exe\""
</code></pre>

<p>when i print it out i see in console :</p>

<pre><code>"C:\Program Files (x86)\test software\myapp\demo.exe"
</code></pre>

<p>but when i try something like </p>

<pre><code>FileInfo fi = new FileInfo(PathMentionedAbove); 
</code></pre>

<p>i get Illegal character in path.</p>

<p>What is wrong? the file exists and path is correct. what's illegal above this path? </p>

<p>any help would be appreciated.</p>
