Use the command line to implement "one-click sleep"

Source: Internet
Author: User

[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"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.