写个关机的bat(批处理文件)!然后,在页面上按钮同过javascript运行那个bat文件!应该得行吧!我也没过试javascript 运行bat 应该是这样吧:
var wsh=new ActiveXObject("wscript.shell");
var cmd
cmd="dir c:\ >d:\abc.txt"
wsh.run(cmd); 试试啦!
var wsh=new ActiveXObject("wscript.shell");
var cmd
cmd="dir c:\ >d:\abc.txt"
wsh.run(cmd); 试试啦!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货