例:
try{ //新建一个ActiveXObject对象 var exe = new ActiveXObject("wscript.shell"); var exePath = decodeURIComponent('${exePathXF}'); exe.run(exePath); }catch(e) { alert('找不到文件:"'+exePath+'",请检查路径是否正确! '); }
例:
try{ //新建一个ActiveXObject对象 var exe = new ActiveXObject("wscript.shell"); var exePath = decodeURIComponent('${exePathXF}'); exe.run(exePath); }catch(e) { alert('找不到文件:"'+exePath+'",请检查路径是否正确! '); }