I don't know if you have ever encountered such a situation. Sometimes you need to copy data on the hard disk, but it still takes two or three hours to get to bed. But you can't wake up the next day and shut down again, but you can't go to bed, wait, or get up and shut down in the middle of the night, and the computer is "idling" for half a night... What should we do? Although some software with automatic shutdown can achieve automatic shutdown, in fact, Windows 7 itself can achieve this function. Below we will briefly introduce the method of Timed Shutdown in Windows 7.
The task scheduler function is used to implement automatic shutdown in win7, which may implement many things. Of course, the automatic shutdown is not a problem. Click Start and enter the task scheduler in the search box to open the task scheduler interface. Click "operation" and select "create basic task". Then, you can go to the "create basic task" Wizard and follow the prompts to perform step-by-step operations. This is suitable for those who are not familiar with this operation. If you are familiar with the task plan, you can choose to create a Task directly to create a new task. The following describes how to shutdown at a specific time.
Task Scheduler Interface
Enter the Task Name and description
Set trigger conditions for task execution
Set the task execution time
Select the task execution type
Set the corresponding program and parameters in the Startup Program
Find the shutdown.exe that automatically shuts down the host, and enter "-s" in the Parameter"
In the last step, click Finish to create a task.
The created task appears in the list. The detailed attributes of the task are shown below.
In addition to Timed Shutdown, timed sleep is also a good choice. The wake-up of a computer in sleep mode is much faster than that of a new machine, and the running state at the moment of sleep can be retained. To implement timed sleep, you can use a batch file. It is easy to introduce the method of creation. First, create a new notepad file and enter "rundll32.exe powrprof.dll, setsuspendstateparameters, and then change the extension name of the notebook from". txt "to". Bat ". Double-click the file to sleep the computer. You can select this batch file in the startup program of the task plan to implement timed sleep. (Of course, your power supply must support sleep function)
If you want to run the function of a program at a certain time, you only need to replace shutdown.exe with the program you want to run in the place where the program is started, which is very convenient. These are just a simple application in the task plan and mainly serve as an example. You can try more settings and functions on your own.
Address: http://bbs.pcbeta.com/viewthread-800760-1-1.html