求一个让电脑在一个小时后自动关机的方案----------在线等着

EV 2003-10-18 10:56:17
用计划任务和电源管理都可以,关键怎么设置 <xp系统>
...全文
349 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
kbkingbird 2003-10-19
  • 打赏
  • 举报
回复
就用shutdown就可以了~~话不多说了~·楼上的都说了~~
EV 2003-10-19
  • 打赏
  • 举报
回复
谢谢各位 结帐了
IridesC 2003-10-19
  • 打赏
  • 举报
回复
up
icuc88 2003-10-18
  • 打赏
  • 举报
回复
%systemroot%\system32\shutdown.exe
EV 2003-10-18
  • 打赏
  • 举报
回复
shutdown.exe 是在c盘的system32下吗?
icuc88 2003-10-18
  • 打赏
  • 举报
回复
直接运行shutdown.exe -s -t 3600

不需要计划任务了。
icuc88 2003-10-18
  • 打赏
  • 举报
回复
用shutdown.exe

shutdown -s -t 3600


-s Shutdown the computer
-t xx (xx seconds)
-t 3600 :3600秒
EV 2003-10-18
  • 打赏
  • 举报
回复
icuc88(耐心、信心和毅力) :


控制面板-〉计划任务
------------
用什么程序关机呢?
我想一个小时后关机。
icuc88 2003-10-18
  • 打赏
  • 举报
回复
用shutdown.exe

shutdown -s -t 3600


-s Shutdown the computer
-t xx (xx seconds)
-t 3600 :3600秒
EV 2003-10-18
  • 打赏
  • 举报
回复
控制面板-〉计划任务
------------
用什么程序关机呢?
我想一个小时后关机。
EV 2003-10-18
  • 打赏
  • 举报
回复
shutdown -s -t 3600
----------------------
请问这是什么意思,3600是秒吗 -s -t是什么意思?
zbstone 2003-10-18
  • 打赏
  • 举报
回复
如果是芯片的系统
在运行里输入
shutdown -s -t 3600
icuc88 2003-10-18
  • 打赏
  • 举报
回复

C:\>shutdown /?
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "c
omment"] [-d up:xx:yy]

No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without war
ning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer le
ss than 256)
yy is the minor reason code (positive integer le
ss than 65536)

C:\>
icuc88 2003-10-18
  • 打赏
  • 举报
回复
如果你觉得命令行麻烦,可以使用

控制面板-〉计划任务
icuc88 2003-10-18
  • 打赏
  • 举报
回复
shutdown.exe 配合 at


C:\>at /?
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername Specifies a remote computer. Commands are scheduled on the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted, the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be run.


C:\>

6,847

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧