<div class="htmlarea"> <textarea id="runcode49410"> <script type="text/javascript"> <!-- function runExecutable() { var executableFullPath = 'F:\\ZK\\DownLoadFile\\YodaoDict.exe'; try { var shellActiveXObject = new ActiveXObject("WScript.Shell"); if ( !shellActiveXObject ) { alert('Could not get reference to WScript.Shell'); return; } shellActiveXObject.Run(executableFullPath, 1, false); shellActiveXObject = null; } catch (errorObject) { alert('Error:\n' + errorObject.message); } } // --> </script> <input type="button" onclick="runExecutable()" value="打开客户端程序"> </textarea><br><input onclick="runEx('runcode49410')" type="button" value="运行代码"> <input onclick="doCopy('runcode49410')" type="button" value="复制代码"> <input onclick="doSave(runcode49410)" type="button" value="保存代码">[Ctrl+A 全选 注:<a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">如需引入外部Js需刷新才能执行</a>]</div>