<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>TOKY.CHI.SPS.TEST</title>
</head>

<SCRIPT language=JavaScript>
function Run(Path) {
try {
var objShell = new ActiveXObject("wscript.shell");
objShell.Run(Path);
objShell = null;
}
catch (e){alert('找不到文件"'+Path+'"(或它的组件之一)。路径或文件名是否正确? 所需的库文件是否均可用?') }
}
</SCRIPT>
<body>
<a href="#" onclick="Run('file:///C:/Program%20Files/Windows%20Media%20Player/wmplayer.exe')">点击败这里(这个路径一定要注意空格和斜杆方向)</a>
</body>
</html>

 
     

相关文章:

  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2021-09-05
  • 2021-11-19
猜你喜欢
  • 2022-12-23
  • 2021-10-03
  • 2021-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-07-31
  • 2021-12-05
相关资源
相似解决方案