PDA

View Full Version : random shortcut


wee96
11-12-00, 06:47 PM
Any of you know of the shift-restart trick? Its really useful if your computer takes 9 years to sit in BIOS and whatnot, just thought if anyone didnt know about it id share. When you are told to reboot, hit no, goto start, then shutdown, then to restart your computer, hold the shift button down and hit ok, then let go of shift, this will reboot your pc but without the annoying bios time. Im sure most of you knew about this, but it saves me SO much time out on the field heh http://www.speedguide.net/ubb/smile.gif

------------------
"Believing in nothing is much more sain than believing in things you cannot prove, or do not exist" -Pyro

BMED
11-12-00, 06:56 PM
This is from TechTV-Screensavers:
RunDLL (16-bit) and RunDLL32 (32-bit) are command-line utilities that allow you to invoke a function exported from a DLL, either 16-bit or 32-bit. Normally, only programmers have access to DLLs. But you can write a function that can be triggered using RUNDLL32, particularly helpful for running commands like those below.


One-click shutdown


If you have Clean Sweep Deluxe, Mike recommends that you disable it before proceeding.


On the desktop, right-click and go to New, then to Shortcut. (In other words, create a new shortcut.) Then on the following path name type:


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


If the C: drive is not your local hard drive, then replace C with the correct letter of the hard drive. That's all.


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.


One-click restart


On the desktop, right-click and select New, then Shortcut. (In other words, create a new shortcut.) Then on the following path name type in


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


If the C: drive is not your local drive, replace C with the correct letter of the hard drive. That's all. For even better functions, you could also create a shortcut key under the Properties of the shortcut you just made. That's all folks!


NOTE: If the file does not work, try copying and pasting the path name. Remember to replace the C: drive with the local drive letter.


Now, for an encore, we'll do a couple of slight variations to Mike's theme. Gracias to PC Magazine's Neil J. Rubenking for this one.

Neil's fast restart that will close all programs and prompt you to log in again:
rundll32.exe shell32.dll,SHExitWindowsEx


Neil's total reboot:
rundll32.exe shell32.dll,SHExitWindowsEx 2


Neil's total shutdown:
rundll32.exe shell32.dll,SHExitWindowsEx 5


Use caution with the numbers. It's probably best to stick with 2 and 5. Neil tried the number 1 following SHExitWindowsEx, and powered down his machine so well that he had to unplug it and plug it back in again.


Remember, these DLLs were not meant to be tinkered with by the user, so use extreme caution and back up before you do anything.


If you don't want to risk it, you can always download Shutdown Utility 3.0. This freeware lives in the system tray instead of the desktop but all you need to do is install it and you can control all your shutdown options.

--------------------------------------------
I use this with a shortcut key setup, works great! BMED

------------------
This is only my opinion, so don't get your panties in a ruffle!

[This message has been edited by BMED (edited 11-12-2000).]