2
Answers

Executing a .exe or .bat file from within C#

Louis

Louis

19y
11k
1
Hi

I want to know if it is possible to execute a exe from within C#. Say for instance you click on a button it should open notepad?

Is there also a way of checking that the process is still alive? If I want to execute another program after notepad is close how will I do it? In other words if I close notepad I want my C# program to execute another exe file.

Is it possible? I'm quite new to OO.

Best regards
Louis
Answers (2)