title: Passing arguments to ProcessStartInfo class
body: <p>i want to call the command prompt command using Process.Start and then using StandardOutput i want to read using StreamReader in my application but when i run the below program, in the MessageBox i just find the path till Debug, my command which i have stated in arguments does not exexutes.</p>
  
  <pre><code>ProcessStartInfo info = new ProcessStartInfo("cmd.exe", "net view");
              info.UseShellExecute = false;
              info.CreateNoWindow = true;
              info.RedirectStandardOutput = true;    
  
              Process proc = new Process();
              proc.StartInfo = info;
              proc.Start();
  
              using(StreamReader reader = proc.StandardOutput)
              {
                  MessageBox.Show(reader.ReadToEnd());
              }
  </code></pre>
  
  <p>here my net view command never executes.</p>