html 来自http://stackoverflow.com/questions/16504880/how-to-open-an-existing-program-in-client-device

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 来自http://stackoverflow.com/questions/16504880/how-to-open-an-existing-program-in-client-device 相关的知识,希望对你有一定的参考价值。

<html> 
 <head> 
     <script language="JavaScript" type="text/javascript">  
         MyObject = new ActiveXObject( "WScript.Shell" )  
         function RunExe()   
         {  
            MyObject.Run("file:///C:/Program%20Files/EditPlus%203/editplus.exe") ;  
        }  

    </script> 
 </head> 
 <body> 
    <h1>Run a Program</h1> 
    This script launch the file any Exe File<p> 
    <button onclick="RunExe()">Run Exe File</button> 
 </body> 
</html> 

以上是关于html 来自http://stackoverflow.com/questions/16504880/how-to-open-an-existing-program-in-client-device 的主要内容,如果未能解决你的问题,请参考以下文章

html 来自html的imessage

来自数组的html输出逻辑

html JavaScript导入后备(来自HTML5 Boilerplate)

html JavaScript导入后备(来自HTML5 Boilerplate)

html JavaScript导入后备(来自HTML5 Boilerplate)

HTML 来自Google Code的HTML 5 shiv