MyObject = new ActiveXObject( "WScript.Shell" )
<h1>Run a Program</h1>
This script launch the file any Exe File<p>
<button onclick="RunExe()">Run Exe File</button>
I would like to know why this post is rejected.
Thanks -- Vj
This code snippet was deleted because the attachment was not opening. I have edited the post and have inserted the content of your attachment directly in to the post. The resource is restored.
Downloaded the script to run an exe file. My question is if there is a way to aviod having to respond to the ActiveX message every time this script is run?
this is only for IE !!
You should write this snippet in a .HTA file instead of a standard .HTML to avoid that security warning.
Anything similar for Linux ...
Gr8 info :)
please can anyone tell me how to execute a file which is on the server rather than one which is on the PC itself :)
Hi Tony, this is a superb example. in your example, can you indicate how to pass parameters/arguments into the command from your script?
Thanks It's nice code,helps us to run this.
Thanks a lot