例:

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

 

相关文章:

  • 2021-06-17
  • 2021-07-02
  • 2022-12-23
  • 2021-07-30
  • 2022-02-09
  • 2021-10-11
  • 2021-07-31
猜你喜欢
  • 2021-10-16
  • 2022-03-04
  • 2021-08-08
  • 2021-09-21
  • 2021-06-30
  • 2022-02-09
  • 2022-01-19
相关资源
相似解决方案