The RedirectStandardInput property defaults to false, hence commented or not the same applies.
Try as follows;
StreamReader srOut;
StreamReader srErr;
using(System.Diagnostics.Process proc = new System.Diagnostics.Process())
{
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.RedirectStandardOutput = true;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.CreateNoWindow = true;
proc.StartInfo.FileName = "Path and Name of BAT file";
proc.Start();
srOut = proc.StandardOutput;
srErr = proc.StandardError;
proc.WaitForExit();
}
string strRead = srOut.ReadToEnd();
string strError = srErr.ReadToEnd();
NOTE: If your Bat file can hang then you will need to terminate it programmatically - it will not be visible on the Desktop
MSDN ProcessStartInfo Class (System.Diagnostics)[
^]
Kind Regards