第一次用到这个,做个记录,在html页面中调用本地程序:
<script language="<a style=" color: text-decoration:underline title="javascript" href="https://www.php.cn/zt/15724.html" target="_blank">javascript"> <br>function Run(strPath) <br>{ <br>var objShell = new ActiveXObject("wscript.shell"); <br>objShell.exec(strPath); <br>objShell = null; <br>} <br></script>
请输入要运行的程序路径:











