i use this code:
<script>
function LaunchApp() {
if (!document.all) {
alert("Available only with Internet Explorer.");
return;
}
var ws = new ActiveXObject("WScript.Shell");
ws.Exec("C:\\Windows\\notepad.exe");
}
<a href="javascript:LaunchApp()">Launch the executable</a>
but this not work. (Link is disabled)