title: Passing an argument to cmd.exe
body: <p>I am attempting to ping a local computer from my C# program. To accomplish this, I'm using the following code.</p>
  
  <pre><code>System.Diagnostics.ProcessStartInfo proc = new System.Diagnostics.ProcessStartInfo();
  proc.FileName = @"C:\windows\system32\cmd.exe";
  proc.Arguments = @"""ping 10.2.2.125""";
  System.Diagnostics.Process.Start(proc);
  </code></pre>
  
  <p>This opens a command-line window, but ping is not invoked. What is the reason?</p>