ITeye博客

用IE重起计算机或者关机

249080378 · 2010-03-30 16:16 · .NET 技术-Javascript · 编程语言 · Markdown

<script language="JavaScript">
var Application=new ActiveXObject('Shell.Application.1');
</script>
<button onclick=Application.ShutdownWindows();>关机</button><br>
<button onclick=Application.Suspend();>挂起</button>  

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。