title: C# Process removes quoted arguments
body: <p>The command I'm trying to execute is </p>
  
  <blockquote>
    <p>"C:\Program Files (x86)\MyAPP\solr-6.2.0\bin\solr" start -f -c -z "10.195.42.93:2181,10.195.42.92:2181" -h 10.195.42.92</p>
  </blockquote>
  
  <p>And this <strong>works just fine on the command Line</strong>. </p>
  
  <p>I'm trying to execute this as C# process. </p>
  
  <p>NOTE: <strong>Below code works fine if i remove the quotes surrounding IPList</strong></p>
  
  <pre><code>var IPList="10.195.42.93:2181,10.195.42.92:2181";
  var hostIP="10.195.42.92"
  
  string command = @"/c ""C:\Program Files (x86)\MyApp\solr-6.2.0\bin\solr"" start -f -c -z """ + IPList + @""" -h " + hostIP;
  Process process = new Process();
  log.Info("Starting " + command);
  ProcessStartInfo startInfo = new ProcessStartInfo();
  startInfo.WindowStyle = ProcessWindowStyle.Hidden;
  startInfo.FileName = "cmd.exe";
  startInfo.Arguments = command;
  process.StartInfo = startInfo;
  process.StartInfo.RedirectStandardOutput = true;
  process.StartInfo.RedirectStandardError = true;
  process.StartInfo.UseShellExecute = false;
  process.StartInfo.CreateNoWindow = true;
  process.OutputDataReceived += (s, e) =&gt; log.Info(e.Data);
  process.ErrorDataReceived += (s, e) =&gt; log.Info(e.Data);
  process.Start();
  process.BeginOutputReadLine();
  process.BeginErrorReadLine();
  </code></pre>
  
  <p>This throws error :</p>
  
  <blockquote>
    <p>'C:\Program' is not recognized as an internal or external command,...</p>
  </blockquote>
  
  <p>I have looked at the similar issue posted <a href="https://stackoverflow.com/questions/355988/how-do-i-deal-with-quote-characters-when-using-cmd-exe">Here</a> and tried the <em><code>/s</code></em> option but no heed. 
  What am i missing here ?</p>