Restart or Shutdown Windows (XP, 2000 and Vista) from Command Line or One-Click Shortcut Atsākt vai Shutdown Windows (XP, 2000 un Vista) no Command Line vai One-Click Ātrais
If you getting tired of everytime have to clicking Start menu, and then click on Turn Off Computer, and then still have to click on Turn Off or Restart or Log Off in order to log off, restart or shut down your computer, and feel that it's time wasting, you can create a one-click shortcut that allows the user to shutdown or restart Windows, or go into standby or hibernate mode, with just a single click on the shortcut itself. Ja jums kļūst noguris everytime ir noklikšķinot uz Start izvēlni, un pēc tam noklikšķiniet uz Izslēgt datoru un pēc tam vēl noklikšķiniet uz Ieslēgt Izslēgts vai atsākt vai Log Off, lai log off, restart vai izslēdziet datoru, un uzskata, ka ir pienācis laiks, novājēšanas, jūs varat izveidot vienu klikšķi saīsnes, kas ļauj lietotājam izslēgšanu vai restartēt Windows, vai doties nodroses vai Hibernate režīmā tikai ar vienu klikšķi uz shortcut pati. Best of all, the shortcut can be put at any place – desktop, Quick Launch bar, or Start Menu, and can even launch the shutdown or restart process from command line or command prompt. Best of all, shortcut var nodot jebkurā vietā - desktop, ātrās palaišanas joslā vai Start Menu un var pat sākt shutdown vai atsākt procesu no komandrindas vai komandrindas.
In order to shutdown or restart the Windows with just one click shortcut or from command prompt or command line, users can use shutdown command line utility/command that comes with Windows 2000 (with the Resource Kit installed) and Windows XP or Windows Vista (native). Lai izslēgšanu vai restartēt Windows tikai ar vienu klikšķi shortcut, vai no komandrindas vai komandrindas lietotāji var lietot shutdown komandu util / komandu, kas nāk ar Windows 2000 (ar Resource Kit iekārtā) un Windows XP vai Windows Vista (dzimtā ). To access shutdown command, simply go to DOS command prompt by clicking on Start -> All Programs -> Accessories -> Command Prompt or Start -> Run and then type in Cmd to launch a command prompt window. Lai piekļūtu shutdown komandu, vienkārši atveriet DOS komandu uzvednes, klikšķinot uz Start -> All Programs -> Accessories -> Command Prompt, vai Start -> Run un tad ierakstiet Cmd uzsākt komandu uzvednes logu.
To create a one-click shortcut to shutdown the Windows computer, right click on your desktop or any folder (or click at File at toolbar), and then select New, and then click on Shortcut. Lai izveidotu vienu klikšķi saīsni shutdown Windows datoru, labo klikšķi uz jūsu darbvirsmas vai jebkuras mapes (vai noklikšķināt uz Fails uz rīkjoslas), un pēc tam atlasiet Jauns un tad noklikšķiniet uz saīsni. A New Shortcut wizard will ask for location of this item. New Shortcut vednis lūgs vietu šajā postenī. In the textbox, type “shutdown -s -t 01″ (without quotation marks). In textbox, tipa "shutdown-s-t 01" (bez pēdiņām). Click on Next when done. Noklikšķiniet uz Tālāk, kad izdarīts. When ask for a name for the shortcut, give any descriptive name you prefer, such as Shutdown. Kad lūgt nosaukumu īsceļu, norādiet jebkuru aprakstošu vārdu vēlaties, piemēram, izslēgšana. Then click on Finish, and you can now use the shortcut created to shut down PC immediately after click. Pēc tam noklikšķiniet uz Pabeigt un tagad varat izmantot shortcut izveidotas slēgtas PC tūlīt pēc klikšķi.
If you want to create a shortcut that quick restart the Windows instead of shutting down the computer, follow the above instruction, but “shutdown -s -t 01″, key in “shutdown -r -t 01″ for location of this item. Ja jūs vēlaties izveidot īsceļu, ka ātra restartēt Windows tā vietā, lai slēgtu datoru, izpildiet iepriekš instrukciju, bet "shutdown-s-t 01", ievadiet "shutdown-r-t 01" par vietu šajā postenī. Again, give a proper descriptive name to the shortcut, such as Restart, and the shortcut is ready to be used to restart the Windows right after click. Atkal, sniegt pienācīgu aprakstošu nosaukumu, shortcut, piemēram, Restart, un shortcut ir gatava izmantot restartēt Windows uzreiz pēc klikšķi.
As in the shutdown command above, -s parameter will shutdown the computer, while -r will shutdown and restart the computer. Kā shutdown komanda iepriekš,-s parametrs būs shutdown datora, bet-r būs shutdown un pārstartējiet datoru. -t 01 set the timeout or time to lapse in seconds for a shut down or restart to begin. -t 01, kas taimautu vai laiku zaudē spēku sekundes slēgtas vai to atsākot, lai sāktu. By default, if no -t argument is specified, shutdown command will wait for 30 seconds countdown before shutdown or restart. Pēc noklusējuma, ja t arguments tiek norādīts, shutdown komanda būs jāgaida 30 sekundes atpakaļskaitīšanas pirms slēgšanas vai restart. The best part for shutdown command is that it can abort a system shutdown, by using -a as the option for shutdown, ie “shutdown -a”. Labāko daļu izslēgšanu komanda ir, ka tā var pārtraukt sistēmas izslēgšanu, izmantojot, kā iespēju izslēgšanu, ti, "shutdown-a". There are other options or parameters that available, and users can view all of the flags with “shutdown /?” command at command prompt. Ir citi varianti vai parametriem, kas pieejami, un lietotāji var apskatīt visus ar "shutdown / karogi?" Komandu pie komandrindas.
The options available for shutdown are: Iespējām izslēgšanu ir:
No arguments : Display this message (same as -?) Nekādus argumentus: Display šo ziņu (tas pats, -?)
-i : Display GUI interface, must be the first option -i: Display GUI interface, ir pirmais variants
-l : Log off (cannot be used with -m option) -l: Log off (nevar lietot kopā ar-m option)
-s : Shutdown the computer -s: Shutdown dators
-r : Shutdown and restart the computer -R: apturētām un pārstartējiet datoru
-a : Abort a system shutdown -: Abort sistēma shutdown
-m \\computername : Remote computer to shutdown/restart/abort -m \ \ datora nosaukums: Remote computer to shutdown / restart / Abort
-t xx : Set timeout for shutdown to xx seconds -t xx: Set timeout izslēgšanu to xx seconds
-c “comment” : Shutdown comment (maximum of 127 characters) -c "comment" Shutdown comment (ne vairāk kā 127 zīmes)
-f : Forces running applications to close without warning -f: spēku darbību pieteikumi slēgt bez brīdinājuma
-d [u][p]:xx:yy : The reason code for the shutdown -d [u] [p]: xx: yy: iemesla kods shutdown
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanu var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- Fast Shutdown Faster Windows 2000, Windows XP, Windows 2003 and Windows Vista Fast Shutdown Faster Windows 2000, Windows XP, Windows 2003 un Windows Vista
- Schedule Windows Shutdown with Vista Shutdown Sleep Timer Grafiks Windows Shutdown ar Vista Shutdown Sleep Timer
- Run Command Prompt Window as Administrator by Right Click Computer in Vista Run Command Prompt logu, kā administrators ar Right Click Dators Vista
- Reveal and Access to Windows Vista Hidden Context-Sensitive (Right Click) Menu Item – Open Command Prompt Here & Copy as Path Atklāt un pieeju Windows Vista Hidden Context-Sensitive (Right Click) menu item - Open Command Prompt "Šeit un Kopēt kā Path
- Open File Location Menu Item Is Missing or Not Showing When Right Click on Shortcut in Windows Vista Open File Location izvēlnes vienums ir pazudis vai nerāda Kad Right Click on Ātrais Windows Vista
- Show Encrypt and Decrypt Files in Right Click Shortcut Menu in Windows Vista Rādīt šifrēšana un atšifrēšana Faili Right Click īsinājumizvēlnē Windows Vista
- How to Remotely Enable Remote Desktop (Terminal Services or RDP) via Registry in Windows 2000/XP/2000/Vista/2008 Kā attālināti Enable Remote Desktop (Terminal Services vai LAP) caur reģistru Windows 2000/XP/2000/Vista/2008
- Put Disk Cleanup Shortcut to Vista Computer Right Click Menu Put Disk Cleanup saīsni Vista Computer Right Click Menu
- Control Windows Media Player Behaviour with Command Line Parameters Control Windows Media Player Behaviour ar Command Line Parametri
- How to Terminate or Stop and Restart Explorer.exe Shell in Windows XP and Vista Cleanly and Gracefully Without Reboot PC Kā pārtraukt vai Pārtraukt un Restart Explorer.exe Shell Windows XP un Vista tīri un graciozi Bez Reboot PC










































July 7th, 2009 03:00 7 jūlijs 2009 03:00
It does work in vista you have to use / when using the command prompt. Tas strādā vista Jums izmantošanu / lietojot komandrindas. But if you follow instructions for the shortcut it does work. Bet, ja jūs izpildiet norādījumus shortcut tas strādā.
June 30th, 2009 03:08 Jūnijs 30, 2009 03:08
Worked like a charm in Vista with the “-” or “/” operators. Strādāja kā Vista šarmu ar "-" vai "/" operatoriem.
June 18th, 2009 15:17 Jūnijs 18, 2009 15:17
“shutdown -s -t 01″ Here “01″ Means time for shutdown in no. "Shutdown-s-t 01" šeit "01" nozīmē laiku izslēgšanu nekādā. of Seconds. sekundes.
ex: c:/shutdown -s -t 01 ex: c: / shutdown-s-t 01
March 23rd, 2009 06:33 23 marts 2009 06:33
Works a treat in XP. Strādā turēt XP. I now have a great little system that reboots if a crash occurs in any of my apps. Tagad man ir liels maz sistēmu, reboots ja avārijas notiek jebkurš no maniem progr. Thanks Pateicība
January 15th, 2009 12:06 Janvāris 15, 2009 12:06
I do not get why should the -t argument is reduced to 600 seconds in Vista. I don't get kāpēc-t arguments ir samazināts līdz 600 sekundes Vista. Please give us a workaround Lūdzu, sniedziet mums PROFILAKSE
December 27th, 2008 01:24 Decembris 27, 2008 01:24
[...] Beispiele und ausführliche Erklärungen in engl. [...] Beispiele und Ausführliche Erklärungen in engl. [...] [...]
October 26th, 2007 03:57 26 oktobris 2007 03:57
The Restart shortcut provided above worked just fine for me in Vista. Restart shortcut iepriekš sniegtā strādāja tikai naudas sodu par mani Vista. Haven't tested the Shutdown command yet. Nav pārbaudīts Shutdown komandu 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 appreciate pastu, jo nebija, kā es varētu virzīt mani vecāki, lai atrastu par jaunu posmu izvēlnes komandas. I just stuck the shortcuts on the desktop. Es tikai iestrēdzis uz darbvirsmas saīsnes. Problem solved. Problem solved.
September 13th, 2007 09:22 13 septembris 2007 09:22
That command doesn't do anything for standby or hibernate. Pavēles nedara kaut ko nodroses vai pārziemot.
June 30th, 2007 04:53 Jūnijs 30, 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. Arguments / t tika samazināta līdz 600 sekundēm jau XP64, un tas ir anoying * argh * Lūdzu, sūtiet atbildi, ja jūs tagad, kā apiet šo. Thx. Thx.
February 16th, 2007 13:21 Februāris 16, 2007 13:21
give dos commands for shut downing the windows 2000, xp dot dos komandas izslēgt notriecot Windows 2000, XP
February 15th, 2007 01:40 Februāris 15, 2007 01:40
What is the 'Windows 2000 Resource Kit' referred to in the article and where can I get it? Kas ir "Windows 2000 Resource Kit", kas minēti šajā pantā un, kur es varu iegūt? I thought the obvious choice would be the Windows Components add/remove screen, but it is not there. Es domāju, ka acīmredzama izvēle būs Windows Components pievienot / noņemt ekrāna, bet tā nav.
February 12th, 2007 20:25 Februāris 12, 2007 20:25
This does not work on Windows Vista. Tas nedarbojas uz Windows Vista. In Vista you have to use / and not – in front of the arguments. Vista jums jāizmanto un / ne - priekšā argumentus. Also the /t argument has been limited to 600 seconds max. Arī / t arguments ir ierobežots līdz 600 sekundēm max.