I wanted to call through a C # application any .exe and give them some commands as soon as it opened. For example, what I want to do at the moment is that the program opens, give three Tabs and fill in the values passed and give three more Tabs .
Does anyone know if it's possible to do this with C #?
Here's what I've tried:
System.Diagnostics.Process processo = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;
startInfo.FileName = @"C:\Users\VICTOR\Desktop\Test.exe";
startInfo.Arguments = "\t \t \t 0 \t 0 \t 0 \t 0 \t 0 \t 0 \t 0 \t 0 \t 0 \t 0 \t \t \t";
System.Diagnostics.Process.Start(startInfo);