写个关机的bat(批处理文件)!然后,在页面上按钮同过javascript运行那个bat文件!应该得行吧!我也没过试javascript 运行bat 应该是这样吧:
        var   wsh=new   ActiveXObject("wscript.shell");  
        var   cmd  
        cmd="dir   c:\   >d:\abc.txt"  
        wsh.run(cmd);   试试啦!