How can I execute a local application?

I remember in Java there was something like a System.execute( string ) method which would simply do a shell execution of whatever command was given. Is there something like this in .NET

Say if I want to run "notepad", how would I go about that


Answer this question

How can I execute a local application?

  • PGT

    Take a look at Process.Start()

    In order to start notepad it is easy as:

    Process.Start("notepad.exe")

    assuming you don't need any other parameters to be setup.



  • Ted A. B

    Hi

    This is how its done in .Net

  • How can I execute a local application?