Right Click to open Command Prompt inside any Directory

on Monday, November 8, 2010

If you use the Command Prompt very frequently, you might had thought of opening the Command Prompt right where you want to.  By Default the command prompt opens in your user profile's home directory.  There is a way of bringing it on in to the right click menu and then you can be able to open Command Prompt in every Folder.  In Windows 7, this is fairly simple.  Select the folder you wish to open the Command Prompt.  While keeping the Shift key pressed, right click the folder.  You will get the option "Open Command Window Here".

In Windows XP, we will have to edit the Registry for it.  Lets see how we do it.


1.   Open Registry Editor by typing "regedit" (without quotes) in the Run menu.

2.   Navigate to HKEY_CLASSES_ROOT\Folder\shell.





3.   Right click the shell folder and choose NEW-> Key from the context menu.  Rename the key name as "Open_Command_Prompt_Here" and press Enter.



4.   Now right click the Open_Command_Prompt_Here key and choose New -> Key from the menu.  Type command for the new key name and press enter.

5.   Right click the command key and double click the Default key in the right hand pane.  Give it a value cmd.exe /k cd %1   It will be better if you copy the value from here and paste.  Press enter and you are done.



Exit the Registry Editor and try right clicking any folder.

Random Links :  Hack Folder Lock Password
                          Make Adobe Reader load faster
                          How to remove SICHOST.exe
                          How to get rid of _.ex-08.exe Trojan

                          Simplest way to check whether your SMPS is working


Subscribe via RSS