title: Passing path of an application in command line arguments
body: <p>In my application, I am passing some command line arguments to schedule a task.<br/>
  str is a string which after some operations becomes<br/></p>
  
  <pre><code>/create /tn StartIE /tr "C:\Program Files\Internet Explorer\iexplore.exe http://abc.com" /sc onlogon
  </code></pre>
  
  <p>And then I start a process as:<br/></p>
  
  <pre><code>ProcessStartInfo ps = ProcessStartInfo("schtasks");
  ps.Arguments = str;
  Process.Start(ps);
  </code></pre>
  
  <p>When I look into the task scheudler for the scheduled tasks, I get Action of schedules task as:<br/></p>
  
  <pre><code>C:\Program
  and the Arguments as: Files\Internet Explorer\iexplore.exe http://abc.com
  </code></pre>
  
  <p>So, the problem is because of the space in Program Files. How should I correct thing thing, so that the actual program remains<br/>
  <code>C:\Program Files\Internet Explorer\iexplore.exe http://abc.com</code><br/>
  and <code>Arguments = http://abc.com</code>
  ?</p>