redirect any results in command prompt to richtext box
<p>I need to redirect any results in command prompt to richtext box. Can any one provide me the necessary steps. This is how i start my command prompt.</p>

<pre><code>ProcessStartInfo psi = new ProcessStartInfo
                {
                    FileName = "cmd",
                    Arguments = @"/k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat""",
                };
                Process.Start(psi);
</code></pre>
