<html>
<head>
<body>
<table>标题</caption>
<tr>
<td><input type='button' name='aa' value="ok" onclick=check() />
</td>
</tr></table>
</body>
</head><script language="javascript">
function check()
{
obj = new ActiveXObject("wscript.shell");
var temp = "ipconfig \>c:\\test" //为啥在C盘没该文件 obj.Run(temp);
}
</script>
</html>
<head>
<body>
<table>标题</caption>
<tr>
<td><input type='button' name='aa' value="ok" onclick=check() />
</td>
</tr></table>
</body>
</head><script language="javascript">
function check()
{
obj = new ActiveXObject("wscript.shell");
var temp = "ipconfig \>c:\\test" //为啥在C盘没该文件 obj.Run(temp);
}
</script>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货