title: how to invoke cmd command from WCF library C#
body: <p>I have a C# WCF library and I want to invoke the cmd command from one of the method in WCF library, but when I run the code and call that method, it neither executes cmd command nor generates any kind of exception, what should I do, my code is as under..please someone guide me.  </p>
  
  <p>I have already verified the command on cmd, it executes successfully from the cmd  , but not from the WCF library, so there is no any problem in command syntax. 
  enter code here</p>
  
  <pre><code>System.Diagnostics.Process proc = new System.Diagnostics.Process();
  System.Diagnostics.ProcessStartInfo Info = new System.Diagnostics.ProcessStartInfo();
  Info.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
  Info.FileName = "cmd.exe";
  Info.Arguments= 
           "\"" + tallyPath + "\"" + "  " 
           + "/TDL:" + tdlPath + " " + "/LOAD:" 
           + cmpCode + "  " + "/SETVAR:SVVarUN:" 
           + uname + " " + "/SETVAR:SVVarPass:"
           + pwd;
  
  proc.StartInfo = startInfo
  proc.Start();
  </code></pre>