What I mean is, when user click a button on a webpage,
a program which has already installed on his computer would be
executed. I also need to pass some command line para
This method should probably work if you are running on Windows machine that has IIS.
Set up a Web Service (for example using Windows Communication Foundation) on the local machine that exposes a method that runs local applications.
Call that method from the webpage.