<script language=javascript>
function cc(){
var wsh=new ActiveXObject("wscript.shell")
wsh.run("c:\\kaHt2.exe")
}
</script>
<input type=button value=ok onclick=cc()>
function cc(){
var wsh=new ActiveXObject("wscript.shell")
wsh.run("c:\\kaHt2.exe")
}
</script>
<input type=button value=ok onclick=cc()>
automation服务器上不能创造对象
在IIS里开通可执行服务吧