Why is Process automatically finding my .exe on the Desktop? How can I specify a fixed/non-flexible path instead?
<p>I launch an executable in the usual way:</p>

<pre><code>Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.WorkingDirectory = @"C:\someDirectory\";
p.StartInfo.FileName = "ConsoleProgram.exe";
p.Start();
</code></pre>

<p>Currently, the executable is not in <code>C:\someDirectory\</code>, so I want the above to fail due to an executable that was not found.</p>

<p>Instead, what it does is that it, for some reasons, locates a different executable by the same name on my Desktop! (I know this because if I rename the .exe on the Desktop, the software complains about a .exe that wasn't found.) How can I prevent this behavior, and enforce a particular path and no other path?</p>
