再开始或停工窗口(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.
Related Articles
- Schedule Windows Shutdown with Vista Shutdown Sleep Timer
- Fast Shutdown Faster Windows 2000, Windows XP, Windows 2003 and Windows Vista
- Display Run Command in Start Menu of Vista
- Comprehensive List of Command Prompt Keyboard Accelerators (Shortcut Keys)
- Quick Shutdown Your Computer
- Create and Put an Elevated Command Prompt on Windows Vista Desktop or Start Menu
- 10 New Executables and 20 Old Commands in Windows Vista
- Add Open Command Window Here to XP Folder with PowerToy
- Automatically Shutdown Computer With Auto Shutdown Genius
- Reveal and Access to Windows Vista Hidden Context-Sensitive (Right Click) Menu Item - Open Command Prompt Here & Copy as Path

































February 12th, 2007 20:25
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.
February 15th, 2007 01:40
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.
February 16th, 2007 13:21
give dos commands for shut downing the windows 2000, xp
June 30th, 2007 04:53
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.
September 13th, 2007 09:22
That command doesn’t do anything for standby or hibernate.
October 26th, 2007 03:57
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.