![]() Now click on the blue-marked entry " Never " and then enter the number of minutes after which the PC should switch to sleep.3600 means that the timer will shut down your computer in an hour. You’ll need to use seconds when dealing with the sleep timer. The S stands for shutdown and the T for time. There select the small + (plus) symbol in front of the entry " Save energy " and then the + (plus) symbol in front of " Sleep after ". If you want the computer to shut down in an hour, you’ll need to type the following command: shutdown -s -t 3600.Click on " Change power plan settings" and then on " Change advanced power settings " to open a new window.In the menu below, scroll down to the link " Additional power settings" and click on it to switch to the control panel.Right-click the Windows icon in the system tray and choose " Power Options " from the menu.Example 2: SimpleShutdownTimer. ![]() Here you can specify that the computer switches off automatically if it has not been actively used for a long time. Example 1: SimpleShutdownTimer.exe /sleepnow This will put the system into standby mode, no count down, no icons. Set shutdown in power settingsĪnother option for automatically shutting down the PC can be found in the Windows power settings. The second line of code, timeout 30, is the command telling Windows to wait a time. Using echo off keeps the command line window clean. The first line of code, echo off, stops the echoing of commands in the Windows command line window. Simply type in the basic command " shutdown " and confirm your entry with Enter. The following example code can automatically shut down your computer. If you wish, you can also display all possible command line commands for the shutdown in the shell. A quick line dropped into your Command Prompt is usually all you.
0 Comments
Leave a Reply. |