I\'m trying to execute a batch file in C#, but I\'m not getting any luck doing it.
I\'ve found multiple examples on the Internet doing it, but it is not working for
It works fine. I tested it like this:
String command = @"C:\Doit.bat"; ProcessInfo = new ProcessStartInfo("cmd.exe", "/c " + command); // ProcessInfo.CreateNoWindow = true;
I commented out turning off the window so I could SEE it run.