再開始或停工窗口(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.