Xp system automatically shuts down regularly, don't forget Shutdown program

  

It's cold, and it's fashionable to watch big movies in the bed, but do you often forget to shut down and fall asleep? If so, then this course is special For you to build, it is your best choice. Simply put, its function is to let the computer automatically shut down after a specified time or delay. Let's see how he implements this function.

Everyone knows that Windows XP shutdown is by Shutdown. The .exe program is controlled by the Windows\\System32 folder. If your computer is going to shut down at 22:00, you can select “Start →Run”, enter “at 22:00 Shutdown -s”, At 22 o'clock, the computer will appear "System Shutdown" dialog box, the default has a 30-second countdown and prompts you to save the work. If you want to shut down in a countdown mode, you can enter "Shutdown.exe -s -t 3600”, which means that it will automatically shut down after 60 minutes," 3600” represents 60 minutes.

After setting the automatic shutdown, if you want to cancel, you can enter “shutdown -a” in the run. In addition, enter "ldtdown -i" to open the Set Auto Shutdown dialog box to set the Auto Shutdown.

The parameters of Shutdown.exe, each with a specific purpose, each will produce different effects, such as “-s” means to shut down the local computer, “-a” means cancel the shutdown operation More parameters are listed below, you can use them as needed in Shutdown.exe.

-f: Force the application to close

-m \\\\computer name: control remote computer

-i: display graphical user interface, but must be the first Shutdown Options

-l: Logout current user

-r: Shut down and restart

-t Time: Set shutdown countdown

-c "message Content ": Enter the message content in the shutdown dialog (cannot exceed 127 characters)

Sometimes, we need to shut down the computer regularly. Here is a simple way to implement a timed shutdown under Windows XP.

The specified system automatically shuts down after 22 minutes: Click “Start →Run”, enter the command in "open""Shutdown

-s -t 1320”( Note: Quotes are not entered, there are spaces between the parameters, the unit of 1320 is seconds), click the “OK”

button.

Specifies that the system automatically shuts down at a certain time (such as 12:00): Enter the command

“at 12:00 Shutdown -s” in “Open”

Cancel the timed shutdown: Enter the command "Shutdown -a" in "Open".

The implementation of the implementation is implemented using the "Shutdown" command. The shutdown parameter is entered in the command line window, "shutdown". The author believes that the most useful is the "-i" parameter, you can call out the "remote shutdown dialog box", which can easily realize the remote shutdown of the computer in the LAN, interested friends can give it a try.

Copyright © Windows knowledge All Rights Reserved