Home > front end >  In windows how to create a shortcut to make a system to shutdown or sleep?
In windows how to create a shortcut to make a system to shutdown or sleep?

Time:10-17

how to make a shortcut icon to make our pc to sleep or shutdown. this is the desktop

CodePudding user response:

You can also make a shortcut and in the "target" location, you can type in this

cmd /k shutdown -f -p

I'm not sure about the rundll one, it might be malicious to be honest

CodePudding user response:

Make a new txt file with content:

shutdown /s

and change the file extension to .bat. Place it on the desktop and double-click to shutdown.

CodePudding user response:

Do the below steps:

  1. Right-click in any blank area of your desktop
  2. Choose New > Shortcut
  3. Copy/paste the command RUNDLL ….. 0,1,0
  4. Click Next
  5. For the name of the shortcut, enter “Put to Sleep Immediately”
  6. Click Finish
  • Related