Looked like you were showing a solution. Let me share the one I used in C Sharp -> http://www.codeproject.com/KB/cs/howtolaunchprocess.aspx
As to your script, you know that such launching is now considered a security risk and should no longer work except on very old insecure systems. There is no plan to allow what you asked ever again.
My current code which works on dektops:
MyObject = new ActiveXObject( "WScript.Shell" );
MyObject.Run("\Program Files\Games\Pool\Pool.exe") ;
<h1>Run a Program</h1>
This script launch the file any Exe File<p>
<button onclick="RunExe()">Run Exe File</button>
Thanks in advance for your kind consideration.
Awaiting help at the earliest.