Skip to main content

Registry Trick for Adding Custom Context Menu for File Right Click

Many times you need to execute particular exe or command for a specific file. For an example if you are browsing the directory and you need to execute particular command on that file on the command prompt. In such situations you will need to open a command prompt then you need to go to that directory, then select the file and execute the command, this requires some time.  And if you are going to repeat this multiple times then you are going to waste much of your time.

Imagine on the right click of any file if you get option of opening command prompt which will take you directly to that directory, instead of you browsing to that directory.

Yes, you can do that by a simple registry trick. Before going ahead please ensure that you are fully aware of windows registry editor and consequences of modifying the registry incorrectly.  To have a backup of the registry follow steps mentioned in the link Backup & Restore Windows Registry.

Steps for registry trick:

  1. Open Start menu, click on Run.
  2. Type regedit and click OK, which will launch the registry editor.
  3. Navigate to registry key HKEY_CLASSES_ROOT\*\shell
  4. Create new key with name Command Prompt, this is the context menu item which will appear on right click of any file.
  5. Create the key with name Command under key Command Prompt.
  6. Under the command key you will find the  key with name (Default) with type REG_SZ, if its not of that type then delete the key and create new key with name  (Default) of type REG_SZ.
  7. Set the value of (Default) to cmd. As we want to open command prompt on click of this menu.
  8. Now close the registry editor. Browse to any file on computer and right click will show you your new context menu. 

This trick I have tried on Windows XP and Windows 2003 and it works. 

Comments

Popular posts from this blog

How to boot Samsung Galaxy SL( GT-I9003) in recovery mode

** I Will Not responsible for any damage done with use of below mentioned methods. ** Power off your Samsung Galaxy SL (GT- I9003) to start in recovery mode. Once you have power off the phone, press and Hold Volume UP and Home button. Make sure you have hold volume up, don't press in  the middle of the volume buttons.  Now keep pressing these two buttons(VOL UP + HOME) and presspower button for 2-3 seconds. Release only power button, but keep pressing Volume Up + Home Button, until you see the screen shown below. Once you see recovery screen release the Home button else your phone will restart as first selected option will be restart and pressing home will make that happen.

In the recovery mode, volume up & down act as a up scroll and down scroll buttons, by pressing Home button you will be able to click the selected option.

How to flash CWM Recovery to Samsung Galaxy SL( GT-I9003) using Odin

** I Will Not responsible for any damage done with use of below mentioned methods. ** To flash the CWM recovery to your Samsung Galaxy SL you will require to following things in place: Odin  : you can download it from here.CWM Recovery image : you can download it from here. Thanks to XDA-developers. USB driver to connect your phone with computer. Install Samsung Kias so it will install the USB driver. Once you have downloaded above required items and installed the USB driver, reboot you phone to download mode. You can read how to reboot phone in download mode from here. Now connect the phone with USB cable to computer. 
Extract the Odin from the zip file that you have downloaded at some location on your computer and launch the Odin executable by double clicking it. Wait for Odin to detect your phone.You will be able to see it in yellow once detected on odin screen as shown below.
Click the PDA button to select the CWM recovery image. Once you have selected the recovery image, check the od…

How to Factory Reset or Hard Reset Samsung Galaxy SII ( GT-i9100)

Note: Performing these steps you will loose all your contacts, messages, all application settings and all installed applications.
If you have trouble with phone software and you want to reset the phone to factory state, you can try factory reset using below steps:
1. Go to System Settings and then select Privacy.
2. Select FACTORY DATA RESET
4. Select RESET PHONE
5. If the password is required,enter it. Then confirm by selecting ERASE EVERYTHING. 

If you’re unable to access the settings menu of your Galaxy S II, to Hard Reset the try this method:

1. Turn phone POWER OFF, or pull the battery out and put it back again.
2. Press the Volume UP + Home Button.
3. Keep pressing these 2 buttons + press POWER button for 2-3 seconds.
4. Release only power button but keep pressing Volume Up, Home button.
5. A Boot Menu will then show, Use the volume up/down to choose and home to select.
6. Select Wipe data/factory reset option and press Power button.
7. Now select Yes - delete all user data and Press Power…