WinXP uses the shutdown command shutdown method

  

About the computer timing shutdown, I believe everyone knows some, also know some. Many people listen to a little song before going to bed at night, so it is better to fall asleep, then you can't sing a song at night! So the setting is scheduled to shut down, what is the method of WinXP computer automatic shutdown? Here is a brief introduction to WinXP using the shutdown command shutdown method.

The specific steps are as follows:

First, the shutdown command shutdown skills

1, start-run input cmd, call up the command prompt interface

2. At the command prompt, type shutdown /? This is the help information for viewing shutdown.

3, through the help information, we can learn the explanation and method of the use of shutdown commands.

No parameters to display this message (same as ?)

-i Display GUI interface, must be the first option

-l Logout (cannot be combined with option -m Use)

-s Shut down this computer

-r Shut down and restart this computer

-a Abandon system shutdown

-m \\\\computername Remote computer Shutdown/Restart/Abandon

-t xx Set the timeout for shutdown to xx seconds

-c “comment” Close the comment (up to 127 characters)

-f Forced running application is closed without warning

-d [u][p]:xx:yy Close reason code

u is user code

p is a plan Close code

xx is a main reason code (a positive integer less than 256)

yy is a secondary reason code (a positive integer less than 65536)

Use example of shutdown command shutdown

1, shutdown -s auto shutdown

shutdown -a cancel auto shutdown

2, shutdown -s -t 360 (t refers to the time) Explanation: Shutdown countdown interface will appear after 360 seconds shutdown

3, at 23:30 Shutdown -s Explanation: The system will automatically be at 23:30 Shutdown

Shutdown -s refers to shutdown

at 23:30 refers to 23:30

at command use condition: must open Task scheduler service (open method in command interface Enter net start schedule, close the input net stop schedule)

4, shutdown -r Explanation: Shut down and restart

If you are using a computer, please use it with caution.

5, at 23:30 Shutdown -s -c The system hangs up, pay attention to rest

Explanation: -c can input the description text

We can write this command In the text document, let the text be changed to a batch file. After putting this batch file into Start-Run-Start, the computer will automatically shut down at 23:30 every day.

About WinXP using the shutdown command shutdown method is introduced here, is it very simple! Try the above method. Just follow the steps to do it, there are steps to tell you how to operate. I hope that I can help those in need here.

Copyright © Windows knowledge All Rights Reserved