Search This Blog

Wednesday, February 10, 2010

Hibernate from Run Command

Hibernate from Run Command

Make sure that the system is hibernation enabled. To confirm that,

* Click the Start button
* Go to Run menu and type in Powercfg.cpl and click OK
* In the Power Options Properties click Hibernate tab and make sure that Enable hibernation option is checked
* Click OK/Apply

Click the Start button, go to Run menu and type in

%windir%System32rundll32.exe powrprof.dll,SetSuspendState

Click OK

As long as Hibernation is enabled in Power Options, the above command in a batch file will cause the computer to hibernate.

How To Edit and Delete Run Command History

Using Registry

The history of Run command is called RunMRU and is stored in the following registry key:

HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Explorer > RunMRU

On the right hand pane, you will find out all the recently typed commands in the Run dialog. You can select any of them and delete. This will make sure that thecommand doesn’t show up as a suggestion when you start typing in Run box.

Use Mouse as Keyboard and Keyboard as Mouse

Work Without Mouse


Press ALT+Shift+Num Lock

You will hear a beep and then you can see windows asking for using MouseKeys. Click OK. You will see mouse like tray icon if it is crossed like this Use Mouse as Keyboard & Keyboard as Mouse then press Num Lock again. Now use the Numeric Keypad to move cursor around.

8 key for Up, 2 for down, 4 for left, 6 for right

When you want to use the Left click of mouse Press 5. For right click you can use this key on the keyboard.

The cursor moves very slow but you can speed it up. By pressing ALT+Shift+Num Lock you will see a dialogue click on settings again click settings, and then select hold down Ctrl to speed up and Shift slow down. Now when you want to move cursor then hold Ctrl and then press any key to move the cursor through numeric keypad. It will speed up now.


Work Without Keyboard

You can work with mouse click without keyboard.

Start -> RUN
Type osk
Hit Enter

Change Your Dynamic IP Address

Following is supposed to change your dynamic IP Address. Open notepad and type:

ipconfig /flushdns
ipconfig /refresh
ipconfig /renew
ipconfig /all>newip.txt
end


then save as (select all file types) --- ip.bat

this is now a batch file rather than a txt file. Simply hit run on the file and watch the progress.

If you want to print out the results then add this line into the same file befoe "END"

ipconfig /all>filename. txt

A report will be saved in the same directory as your batch file, detailing your new ip and a bit more...

Ms Word Tricks

Open a blank Word document and type the following:

=rand(200,99)

Press 'Enter' afterwards... Wait 5 seconds!
see what happens

Remember!!! Type it, don't copy paste it otherwise it may not work.