title: Process.Start parameter containing spaces has problems on XP?
body: <p>The following code snippet runs nicely on windows vista or windows 7, but not on XP:</p>
  
  <pre><code>String filename = System.IO.Path.ChangeExtension(System.IO.Path.GetTempFileName(), ".html");
  [...write file...]
  System.Diagnostics.Process.Start("excel.exe", "\"" + filename + "\"");
  </code></pre>
  
  <p>Problem is, on Windows XP the <code>filename</code> contains spaces ("c:\documents and settings..."), so on XP Excel just shows the error "can't open c:\documents.xls".</p>
  
  <p>On Windows Vista and 7 it even works when I set the path/filename to something containing spaces.</p>
  
  <p>Is there a way to change the parameters so it will open on windows XP, too, or will I have to change the temp directory on all my clients computers?</p>