title: How to pass command line arguments to batch file from c#
body: <p>I want to execute a batch file from c#.net code.
  A batch file may take unknown number of the command line arguments.
  I want to pass these arguments from c# code.</p>
  
  <p>How this can be achieved through c#?</p>
  
  <p>Edit :
  I have written following code</p>
  
  <pre><code>    ProcessStartInfo psi = new ProcessStartInfo(filePath);
      psi.WindowStyle = ProcessWindowStyle.Hidden;
      psi.CreateNoWindow = true;
      psi.Arguments = "some value";
      Process proc = new Process();
      proc.StartInfo = psi;
      proc.Start();            
  </code></pre>