Sign in to follow this  
Matt

One-click Shutdown

Recommended Posts

One-click shutdown

If you have Clean Sweep Deluxe, it is advised that you disable it before proceeding. Follow these directions to create a one-click shutdown shortcut:

1. Navigate to your desktop.

2. On the desktop, right-click and go to New, then to Shortcut (in other words, create a new shortcut).

3. You should now see a pop-up window instructing you to enter a command line path.

4. Enter one of these as the path:

* Use this path if your operating system is Windows 95, 98, or Me:

C:\windows\rundll.exe user.exe,exitwindows

* Use this path if your operating system is XP:

SHUTDOWN -s -t 01

If the C: drive is not your local hard drive, then replace "C" with the correct letter of the hard drive.

5. Click the "Next" button.

6. Name the shortcut and click the "Finish" button.

Now whenever you want to shut down, just click on this shortcut and you're done. Also, if you want to make life better and faster, you can right-click the new shortcut you just made, go to Properties, and type in X (or whatever letter) in the Shortcut Key box. This will create a hot key for shutdown.

Share this post


Link to post
Share on other sites
            C:\windows\rundll.exe user.exe,exitwindows

          * Use this path if your operating system is XP:

            SHUTDOWN -s -t 01 ...

<{POST_SNAPBACK}>

Is that the FORCE shutdown command? If so, be sure you don't have any unsaved files open. If it's just the regular shutdown Windows is smart enough to give you a chance to save any open files before it exits.

When using this, Windows will still alert you to save changes.

<{POST_SNAPBACK}>

Great, I know there's a tweak to get the forced shutdown but ... I was too lazy to look it up and compare. :blush:

Edited by JDoors

Share this post


Link to post
Share on other sites

cool, that just gave me an idea. I was trying to figure out a way to run my unison script, which makes a backup of all of the familys "my docs". I was not sure how to run it at shutdown.

I can just make a batch script that first runs unision, then the command you posted to shutdown the computer.

now with one click I can do a full backup, and shutdown my computer :-)

unison -prefer "C:\Documents and Settings\All Users\Documents" -batch shared
unison -prefer "C:\Documents and Settings\liz\My Documents" -batch liz
unison -prefer "C:\Documents and Settings\jarrod\My Documents" -batch jarrod
unison -prefer "C:\Documents and Settings\brooke\My Documents" -batch brooke
unison -prefer "C:\Documents and Settings\wanda\My Documents" -batch wanda
unison -prefer "C:\Documents and Settings\shane\My Documents" -batch shane
SHUTDOWN -s -t 01

I will also use your hot key suggestion

thanks Matt :-)

Share this post


Link to post
Share on other sites

if you r-click on the shortcut, and goto properties, then change icon. You can choose the winodws shutdown icon. I posted my desktop with the newly made icon

desk.JPG

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this