<html>
<head>
<title>测试</title>
<head>
<body>
<script language="JavaScript">
function openmes_exe(shellp,str)
{
a=new ActiveXObject("wscript.shell");
a.run(shellp+" "+str);
}
</script>
<button οnclick="openmes_exe('chrome.exe','http://localhost:8083/mes-web/')">浏览器</button>
<body>
</html>
----------------------------------------
//IE中有安全控制需要注意