how to execute command on cmd from c#
<p>i want to run commands on the cmd from my c# app. i try :  </p>

<pre><code> string strCmdText = "ipconfig";
        System.Diagnostics.Process.Start("CMD.exe", strCmdText);  
</code></pre>

<p>result: the cmd window pop but the command didnt do nothing... :(<br>
why?</p>
