The following line of code will execute the file located in filePATH. if the filePATH is url then a default browser will be instantiated and navigate to the url. Or if the url is an executable file then it will be executed.
System.Diagnostics.Process.Start(filePATH);

For more details, please read this useful blog post.

http://cherupally.blogspot.com/2009/04/how-to-invoke-processapplication-from.html

Leave a Reply