首页 >> 文档 >> Windows专题

shutdown.exe 实现定时关机

发布日期:2008-07-08最近更新:2008-07-08来源:BHCODE作者:
通常关机使用shutdown -s -t -1可实现定时关机
如使用shutdown -s -t 3600表示一小时后关机,shutdown还有其他参数,合理利用这些参数可以定制很多种定时关机方案

shutdown.exe的参数介绍如下:

shutdown.exe -a 取消关机   

shutdown.exe -f 强行关闭应用程序。   

shutdown.exe -m \计算机名 控制远程计算机。   

shutdown.exe -i 显示图形用户界面,但必须是Shutdown的第一个参数。   

shutdown.exe -l 注销当前用户。   

shutdown.exe -r 关机并重启。   

shutdown.exe -t时间 设置关机倒计时。   

shutdown.exe -c"消息内容"  输入关机对话框中的消息内容(不能超127个字符)。
本周推荐
MORE
热点关注
MORE