The win7 scheduled shutdown command is "shutdown -s -t 3600", where the parameter "3600" represents the number of seconds until shutdown, and running "shutdown -a" can cancel the scheduled shutdown.
In Win7, the shutdown method to achieve automatic shutdown is as follows:
Start->Run-> cmd
Run "shutdown -s -t 3600", where "3600" is the number of seconds until shutdown, run "shutdown -a" to cancel the scheduled shutdown!
Detailed introduction:
Open the DOS command window and enter the command "shutdown
/?":
Press Enter, we can find the list Here is a detailed explanation of the shutdown command:
Among them, our commonly used parameters are:
-s: shutdown command. Adding this parameter after shutdown is to implement the shutdown operation. If there are no other parameters, the default is to shut down after 30 seconds;
-r: Restart command. Adding this parameter after shutdown is to restart the computer;
-t: Set the time. This parameter specifies the time for the shutdown operation, in seconds.
-a: Cancel the command. This command is added directly after the shutdown command, and its function is to cancel the operation specified in the shutdown command.
Explanation with examples: For example, the command shutdown -s -t 60:
means shutting down the computer after 60 seconds. After executing this command, the system pops up a shutdown countdown window:
If we want to cancel the shutdown at this time, we can use the command "shutdown
-a".
The above is the detailed content of What is the scheduled shutdown command in win7?. For more information, please follow other related articles on the PHP Chinese website!