I have a bat file a.bat
I want print throgh c# code..
How?
I used given code but not print
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = false;
proc.StartInfo.FileName = "c:\\a.bat";
proc.StartInfo.Arguments = string.Format("C-Sharp Console application");
proc.StartInfo.CreateNoWindow = false;
proc.Start();