Start process with environment variable
<p>I want to start a process with the following path.</p>

<blockquote>
  <p>"ProgramFiles(x86)\Philips Speech\Device Control Center PDCC.exe"</p>
</blockquote>

<p>When I type this into the console the process starts as expected but when I try to do it in code I get the following exception:</p>

<blockquote>
  <p>the system cannot find the file specified</p>
</blockquote>

<p>This I my code so far:</p>

<pre><code>var startInfo = new ProcessStartInfo("%ProgramFiles(x86)%\Philips Speech\Device Control Center PDCC.exe");
Debug.Assert(startInfo.EnvironmentVariables.ContainsKey("ProgramFiles(x86)")) //Is true
new Process(startInfo).Start(); //&lt;- exception occures here
</code></pre>

<p>Does anybody have an idea if I can do this directly by giving the ProcessStartInfo class the environment variable or if I have to parse it before doing so? </p>