如何创建关机的快捷方式?

卷发与离子烫

新手上路
注册
2004-05-06
消息
1,785
荣誉分数
1
声望点数
0
有没有关机程序的路径??我想创建一个关机的快捷方式,这样方便好多,请教请教:confused:
 
代码:
C:\Documents and Settings\Torune>shutdown /?
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-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 warning
        -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 less than 256)
                                yy is the minor reason code (positive integer less than 65536)
 
最初由 卷发与离子烫 发布
有没有关机程序的路径??我想创建一个关机的快捷方式,这样方便好多,请教请教:confused:


Alt-F4, 什么都能关,也许restart
 
C:\Documents and Settings\Torune>shutdown
这个路径不能用呀,怎么用呀~~?嘻嘻
 
快速关机:
按一下机箱前面的电源开关,不要超过4秒,
机器就关了,不会硬盘转半天save什么东西。
 
最初由 qwer 发布
快速关机:
按一下机箱前面的电源开关,不要超过4秒,
机器就关了,不会硬盘转半天save什么东西。

少听他胡说。对硬盘不好
 
最初由 月下独酌 发布


少听他胡说。对硬盘不好

当然不好了,不是对硬盘不好,是windows没有存这次的改动,
可能丢东西,(不是丢硬盘里的东西,而是丢内存里的东西),所以不建议这样用。要不然为什么关机要这么麻烦。

只对ATX有效,如果是老机箱(AT),这一按,就直接关电源了。
 
以前在98上用过这个,你可以在XP上试试
create a shortcut
rundll.exe user.exe,ExitWindows
 
直接输入shutdown -s -f就可以了
 
不过你的bios要是支持的话,在xp里调调可以把power button做成hibernate
 
好专业呀,快解方式我已经加好了。只有一点不爽,就是每次关机都要显示一个错误的信息
而且,他不是真正的把电脑关上,最后他会显示一个“你可以安全的关机了”,然后还要按
一下电源开关才完成关机,晕呀~~~~
 
后退
顶部