[Problem description]
How to sleep a computer in the simplest way
[Operating system]
Windows XP
[Solution]
Solution:
Create a shortcut on the desktop. Double-click it to enter the sleep state.
Solution 1:
Right-click the desktop, choose new> shortcut, and paste the following content in the displayed dialog box:
% Windir % \ system32 \ rundll32.exe powrprof. dll, setsuspendstate
Click Next and give the shortcut a name, for example, hibernate. Click Finish. If you do not like its icon, you can right-click it, set properties, change the icon, and paste the following content in the search box above:
% SystemRoot % \ system32 \ shell32.dll
Of course, you can also select other files containing icons. Select the icon and click OK.
[Think more]
Now the question is "one" key "Sleep". We can customize a shortcut key to complete the real one-click sleep.
Right-click on the shortcut created above → properties, and click in the shortcut key box (the red box). If you want to use the F11 key, press F11, OK.
Press F11 and the computer will automatically enter sleep state.
Use the command line to implement "one-click sleep"