title: Running cmd.exe with arguments from c#
body: <p>I have folder C:\Temp\ which has two file des.exe and input.abcd. des.exe is used to decrypt input.abcd. below 2 lined works in command prompt</p>
  
  <pre><code>cd C:\Temp\
  des.exe XXXX input.abcd output.zip
  </code></pre>
  
  <p>why below does not work from c#</p>
  
  <pre><code>        string argument1 =  "/K cd C:\\Temp\\ ";
          string argument2 = "des.exe XXXX input.abcd output.zip" ;
          System.Diagnostics.ProcessStartInfo proc = new      System.Diagnostics.ProcessStartInfo();
          proc.FileName = @"C:\windows\system32\cmd.exe";
          proc.Arguments = String.Format("{0} {1}", argument1, argument2);
          proc.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized;            
          System.Diagnostics.Process.Start(proc); 
  </code></pre>