第一次用到这个,做个记录,在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>
请输入要运行的程序路径:











