Help - Search - Members - Calendar
Full Version: Shut Down, Log Off or Reboot ICONS
bargainshare.com > Community > Computer & Tech Help
p0larbear
How to Put an Icon on the Desktop to Shut down, Log off or Reboot the Computer

Want a quicker way to shut down, log off or reboot your computer, instead of going through the several clicks involved in doing it the normal way? Here's how you can create icons on the desktop that will allow you to perform any of these tasks with one click:

Right click an empty spot on the desktop.
In the context menu, select New | Shortcut.
In the Create Shortcut wizard, where it asks you to type the location of the item, type the following: shutdown -s -t 00 (for shutdown), shutdown -r -t 00 (for restart) or shutdown -l -t 00 (for logoff). Now you can click on the appropriate icon to quickly shut down, reboot, or log off.
Miranda
Thanks! I've been wanting to put these icons on my desktop. smile.gif

I'm not sure if I'd use it or not, but is there one for the standby icon?
wuta17g
I just push the power button on the computer.

Icons are cool though. cool.gif <--cool icon
NARC
Very cool. Can I assume that the '00' at the end are seconds of delay in case you change your mind?
Frank
QUOTE(NARC @ 09-3-2003 - 09:00 AM)
Very cool. Can I assume that the '00' at the end are seconds of delay in case you change your mind?

In a word, yes.

Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "c
omment"] [-d up:xx:yy]

No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)

F
p0larbear
thanks for the info Frank

shhhhhhhh
I forgot I put this here!!!
Miranda
I want to change the shortcut's icon to match the restart icon.



When I click on properties and pick "change icon" the one for restart isn't there (under C:\Windows\System32\SHELL32.dll). Anyone know where to find it?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.