在网页上调用桌面exe程序的简单方法
来源:动视网
责编:小采
时间:2020-11-27 14:44:22
在网页上调用桌面exe程序的简单方法
在网页上调用桌面exe程序的简单方法:本文主要介绍在网页上如何调用桌面exe程序。 网页代码如下: 代码如下: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
导读在网页上调用桌面exe程序的简单方法:本文主要介绍在网页上如何调用桌面exe程序。 网页代码如下: 代码如下: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>

本文主要介绍在网页上如何调用桌面exe程序。
网页代码如下:
代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Document</title>
<script type="text/javascript">
function start(strPath){
var objShell = new ActiveXObject("wscript.shell");
objShell.Run(strPath);
objShell = null;
}
start("F:/adt-bundle-windows-x86-20130729/eclipse/eclipse.exe");
//注意路径中必须使用/ ,而不能使用\
</script>
</head>
<body>
</body>
</html>
希望对大家有帮助!
在网页上调用桌面exe程序的简单方法
在网页上调用桌面exe程序的简单方法:本文主要介绍在网页上如何调用桌面exe程序。 网页代码如下: 代码如下: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>