Advertisement
shakil97bd

How to create power on-off icon on desktop in windows 8

Aug 27th, 2016
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1.  
  2. ************ How to create power on-off icon on desktop in windows 8 ************
  3.  
  4. Right click a blank area on your desktop. Scroll down to New and scroll over to Shortcut.
  5. Next place the command you want create in the Create Shortcut box.
  6. Click Next and title the shortcut click Finish.
  7. Done.
  8.  
  9. Shutdown:
  10. Shutdown.exe -s -t 00
  11.  
  12. Restart:
  13. Shutdown.exe -r -t 00
  14.  
  15. Lock:
  16. Rundll32.exe User32.dll,LockWorkStation
  17.  
  18. Sleep:
  19. rundll32.exe powrprof.dll,SetSuspendState 0,1,0
  20.  
  21.  
  22. Watch more in the video tutorial:
  23.  
  24. https://www.youtube.com/watch?v=dTdXOXo4FTY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement