Running .exe progam with javascript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

Please any one can help me about this problem my running .exe with Javascript?.
I Try using javascript like this script, but error with "cannot create
object" in IE.

<script type="text/javascript" language="JavaScript">
function LaunchCommand()
{
var launcher = new ActiveXObject("WScript.shell");
launcher.Run("cmd.exe",1,false);
launcher=null;
}

<input name="Command" value="Launch Command"
onclick="LaunchCommand()" type="button">

best regards,
doby

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux