再开始或停工窗口(XP, 2000年和景色)从命令行或一点击捷径

如果您得到疲倦于everytime必须点击的起动菜单,然后点击关闭计算机,必须仍然然后点击关闭或重新开始或者注销为了注销,重新开始或关闭您的计算机和认为是时间浪费,您能创造一点击允许用户对停工或再开始窗口的捷径,或者进入待命者或冬眠方式,与唯一点击捷径。 最好所有,捷径被投入在所有地方-桌面、快的发射酒吧或者起动菜单,并且可能甚而发射停工或重新开始过程从命令行或指令提示。

为了停工或重新开始窗口以一条点击捷径或从指令提示或命令行,用户能使用来与视窗2000的关机指令线公共事业或命令(当资源成套工具安装)和Windows XP或者窗口景色(当地)。 访问关机指令,简单地去DOS指令提示通过点击在开始- >所有节目- >辅助部件- >指令提示或开始- >跑然后输入Cmd发射指令提示窗口。

要创造一点击捷径到停工窗口计算机,用鼠标右键单击在您的桌面或所有文件夹(或点击在文件在工具栏),然后精选新上,然后点击捷径。 一位新的捷径巫术师将请求这个项目的地点。 文本框,输入“停工- s - t 01 ″ (没有引号)。 其次点击,当做时。 当请求一个名字对于捷径时,给您更喜欢的所有描写名字,例如停工。 然后点击结束,并且您能现在使用被创造的捷径关闭个人计算机在点击之后。

如果您想要创造快的再开始窗口而不是关闭计算机,遵守上述指示的捷径,但“停工- s - t 01 ″,钥匙在“停工- r - t 01 ″为这个项目的地点。 再次,给一个适当的描写名字捷径,例如再开始,并且捷径准备使用重新开始窗口在点击之后。

和在上面关机指令, - s参量意志停工计算机,当-时r意志停工和重新开始计算机。 - t 01集合暂停或时候在几秒钟内下降为关闭或重新开始开始。 By default, if no -t argument is specified, shutdown command will wait for 30 seconds countdown before shutdown or restart. The best part for shutdown command is that it can abort a system shutdown, by using -a as the option for shutdown, i.e. “shutdown -a”. There are other options or parameters that available, and users can view all of the flags with “shutdown /?” command at command prompt.

The options available for shutdown are:

No arguments : 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

IMPORTANT: This is a machine translated page which is provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.

Share and contribute or get technical support and help at My Digital Life Forums.



6 Responses to “Restart or Shutdown Windows (XP, 2000 and Vista) from Command Line or One-Click Shortcut”

  1. Soeren
    February 12th, 2007 20:25
    1

    This does not work on Windows Vista. In Vista you have to use / and not - in front of the arguments. Also the /t argument has been limited to 600 seconds max.

  2. Chris
    February 15th, 2007 01:40
    2

    What is the ‘Windows 2000 Resource Kit’ referred to in the article and where can I get it? I thought the obvious choice would be the Windows Components add/remove screen, but it is not there.

  3. Magudamudi
    February 16th, 2007 13:21
    3

    give dos commands for shut downing the windows 2000, xp

  4. Peter
    June 30th, 2007 04:53
    4

    The argument /t was reduced to 600 seconds already in XP64, and that is anoying *argh* Please post a reply if you now how to circumvent this. Thx.

  5. Alex
    September 13th, 2007 09:22
    5

    That command doesn’t do anything for standby or hibernate.

  6. TVD
    October 26th, 2007 03:57
    6

    The Restart shortcut provided above worked just fine for me in Vista. Haven’t tested the Shutdown command yet. I appreciate the post, as there was no way I could guide my parents to find the commands on the new Start menu. I just stuck the shortcuts on the desktop. Problem solved.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

vista shutdown command - restart vista - restart pc from command line - vista command line shutdown - shutdown command vista - vista shutdown command line - restart pc command line - reboot vista command line - vista command line reboot - windows vista shutdown shortcut - restart pc from command prompt - reboot vista - reboot vista remotely - vista command line restart - Vista Shutdown shortcut - shutdown command in vista - shutdown vista command - vista reboot command line - shutdown vista command line - Restart Vista remotely - vista restart - vista restart command - restart vista command line - reboot vista from command line - shortcut shutdown vista - shutdown shortcut vista - command line reboot vista - restart vista from command line - restart pc from cmd - shutdown vista remotely - vista reboot - windows vista shutdown command - all - vista reboot command - command line shutdown vista - command line restart pc - restart shortcut vista - vista shutdown cmd - vista restart shortcut - command line restart vista - command line to restart pc - how to restart vista - shutdown vista - vista cmd shutdown - vista restart command line - command to shutdown vista - restarting vista - how to shutdown vista - shutdown Vista from command line - vista command shutdown - reboot pc from command line - shutdown vista cmd - shutdown shortcut for vista - shortcut to shutdown vista - shutdown command for vista - vista shutdown commands - vista shutdown command prompt - remote shutdown vista - reboot vista from command prompt - restart command vista - vista standby command - restart pc command prompt - shutdown command line vista - cmd shutdown vista - restart in vista - reboot command line Vista - cmd restart windows - RESTART WINDOWS COMMAND LINE - command shutdown vista - how to reboot vista - reboot command vista - restart vista from command prompt - remotely reboot vista - restart windows vista command line - restart vista command -