Hi, I have application.exe in http://folder/application.exe
I used the following java script and html code to insert into my webpage:
But it is not working can you tell what is the problem,
and how to achieve this? to run .exe file automatically.
Thanks in advance
I used the following java script and html code to insert into my webpage:
Code:
<SCRIPT Language="JScript">
function runcmd() {
File="http://myfolder/application.exe";
WSH=new ActiveXObject("WScript.Shell");
WSH.run(File);
}
</SCRIPT>
<body onLoad="javascript:runcmd();">
and how to achieve this? to run .exe file automatically.
Thanks in advance
Comment