js 调用本地exe的例子(支持IE内核的浏览器)
我实验了一下 : 使用IE内核的浏览器 都支持 火狐好像不行
代码如下:
<html>
<head>
<script type="text/javascript">
function callExe()
{
// new ActiveXObject("Wscript.Shell").run("notepad.exe D:\\a.png.txt");
//
new ActiveXObject("Wscript.Shell").run("D:\\工具\\Pb6安装\\Pb6安装\\SETUP.EXE");
}
</script>
</head>
<body>
<input id="Button2" type="button" value="调用" onclick="callExe();" />
</body>
</html> 相关推荐
gufudhn 2020-06-06
nercon 2020-06-02
runner 2020-09-01
梦的天空 2020-08-25
移动开发与培训 2020-08-16
ReunionIsland 2020-08-16
lyqdanang 2020-08-16
MyNameIsXiaoLai 2020-07-08
星辰的笔记 2020-07-04
csstpeixun 2020-06-28
letheashura 2020-06-26
liaoxuewu 2020-06-26
sunzhihaofuture 2020-06-21
FEvivi 2020-06-16
坚持着执着 2020-06-16
waterv 2020-06-14
xiaoge00 2020-06-14
firejq 2020-06-14
firstboy0 2020-06-14
e度空间 2020-06-12