Process process = new Process(); process.StartInfo.FileName = ConfigurationManager.AppSettings["BatchFilePath"]; process.StartInfo.UseShellExecute = false; process.StartInfo.RedirectStandardInput = true; process.StartInfo.RedirectStandardOutput = true; process.StartInfo.CreateNoWindow = true; process.Start(); //process.WaitForExit(); process.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)