This is code :
This is the code :private void DirectXInformation() { Process proc = new Process(); proc.StartInfo.UseShellExecute = false; proc.StartInfo.FileName = "test.bat"; proc.StartInfo.CreateNoWindow = true; proc.Start(); }
This is working but i cant tell when it start and when it finish.
I want to tell the user when the process is starting for example "Processing..."
And then when the process is finish: "Prcoss finished..."
And to make it async . So the program wont hang while the process is working.