Showing posts with label Registry. Show all posts
Showing posts with label Registry. Show all posts

Saturday, May 22, 2010

Java : Adding 'Compile Program' Option to Context Menu for Java Files

Java programmers & students always find it a tedious process to open command prompt,set path & then compile the program.Here's how to get a compile program option in Context Menu so that we can compile from right click & know the errors in the program.
* Start Notepad & type the following (Note:Replace "c:\program files\java\jdk1.6.0\bin" with your path of JDK).
   @echo off
 path=%PATH%;C:\Program files\Java\jdk1.6.0\bin
 javac "%1"
 pause

* Save this file as "compile.bat" & copy this file in c:\windows.
* Open registry editor : Press Winkey + R(Run) & type "regedit.exe".
* Goto "HKEY_CLASSES_ROOT\java_auto_file\shell"
* Right Click on "shell" key & choose New - Key.

* Type Key name "compile".
* In right side pane double click on Default & type "Compile Program" & click OK. 

* Now right click on "compile" key  & click New - Key.

* Type key name as : "command" (without quotes).
* Click On command & in right side pane double click on Default & type : C:\Windows\compile.bat "%1"

* U get the Compile Program option for java files.

* Restart UR Pc
* Have fun..........

Shortcut to Do this :
 For some reason if you are unable to do the above process.Perform steps 1 & 2 & then download this zip  file & double click on reg file in it to add keys to registry for u.

Sunday, May 16, 2010

Registry Trick : Adding 'Edit With Notepad' for every file in Right-Click Menu

Usually we open an unknown file type with "Notepad" so it would be nice to add "Edit with Notepad" option in right click menu of every file type.
Here we go :
* Open Run Dialog (Press Window Key + R).
* Type regedit & press enter










* The Registry Editor Opens Up.
* In Registry Editor goto "HKEY_CLASSES_ROOT\*\shell" .
* In right side pane right Click : New - Key.
* Type : 'Edit With Notepad' (without quotes) as key name .
* Now Click On 'Edit with Notepad' key and in right hand pane right click : New - String Value.

* Type Value Name : Icon
* Now Double Click 'Icon' string value and type : "notepad.exe,0" as value data.

* Right Click On 'Edit With Notepad' Key .
* Choose New - key.
* Type Key Name -  command.
* In right side pane of command key double click 'Default' and type : notepad.exe "%1" (With Quotes).
* Click OK.
* Close Regedit.
* Now Right Click Any file & u have edit with notepad option for it.
Have Fun...
For simpler option download the registry file to do all this for you....
Download here

Windows 7 : Disable Aero Peek In Windows 7

Aero peek : A feature in Windows 7 which makes all open windows transparent when mouse is hovered over the little rectangle in bottom right.
Here is how to disable Aero Peek :
* Open Run Dialog (Press Winkey + R).
*Type Regedit
*Move To : HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM.

*In Right Side Pane Double Click on "Enable Aero Peek" as in above image.
*Type Value As 0.

*Aero Peek Is Disabled.
Have Funn....

OR

Download the registry file to do this for u

Registry Trick : Adding 'Control Panel' Option to 'My Computer'

Registry Trick : Adding 'Control Panel' Option to 'My Computer'
It is always handy to have an assortment of shortcuts as 'Control Panel' in My Computer.Here is how to do so :-
*Press WinKey + R (Opens Run Dialog)









*Type "regedit" (without quotes)
*The Registry Editor Opens Up.

*Goto "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace" .
*In right hand empty space : Right Click and choose New - Key.

*Type Name as : "{21EC2020-3AEA-1069-A2DD-08002B30309D}" (without quotes)

*Close Regedit.
*You get Control Panel in my computer.

 Have Funnnn.............

Or

Download reg file to do this.

Tuesday, May 11, 2010

Registry Trick : Adding 'Recycle Bin' Option to 'My Computer'

It is always handy to have an assortment of shortcuts as 'Recycle Bin' in My Computer.Here is how to do so :-
*Press WinKey + R (Opens Run Dialog)

*Type "regedit" (without quotes)
*The Registry Editor Opens Up.
*Goto "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace" .
*In right hand empty space : Right Click and choose New - Key.
*Type Name as : "{645FF040-5081-101B-9F08-00AA002F954E}" (without quotes)
*Close Regedit.
*You get Recycle Bin in my computer.
 Have Funnnn.............
Or

Download reg file to do this.

Saturday, May 8, 2010

Windows 7/Vista Trick : Adding the good old run option to start menu : Manual Way

To add run option to Start menu do the following :
* Press winkey + R to open run menu.
*Type : Regedit
*Press Enter
*The Registry editor windows opens up:
 * Move to : HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
* In right hand pane find entry : Start_ShowRun
* Double click on Start_ShowRun and type 1 .
* Click ok ,Press f5.
* Close regedit
* Open run by windows key + r .
* type cmd
* Command prompt window appears .
* type : taskkill /F /IM explorer.exe
* Now type : explorer.exe
* You see run option added .
Have funn..............
(Note : Playing with regedit is a dangerous thing for your computer if improperly done however its lots of fun.
The author holds no liability if something goes wrong )