Louis

Louis

  • NA
  • 10
  • 0

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

Nov 15 2005 11:44 AM
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)