Long time back I was wondering if some how I will be able to open any application through my website on client's machine. Finally I came to know that yes it is possible and I will end up with this code.
Following code will open up notepad on client's machine. Before opening the file it will prompt the user, if the user accepts then it will opened. As of now it worked on windows with explorer only.
w = new ActiveXObject("WScript.Shell");
Run Notepad (Window with explorer only)
<input type="button" value="Go" onClick="return go()">