Pages

Ads 468x60px

Mar 9, 2013

How to Open Command Prompt by Right Click on Folder in Window Explorer


Wouldn’t it be easier to just right click on a folder to open a command prompt in a particular directory instead of open the cmd at the start menu and then change the directory..?

This tutorial is divided into two parts.


PART1 - Windows XP
This requires editing the registry. If you are not familiar with registry editing, please consider calling for professional on this. 

Step1. Open regedit (Start Menu > type "regedit")
Step2. Go to HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell
Step3. Create a new key called commandprompt
Step4. Your default value should be Open command window here

 
Step5. Create a new key called command under the commandprompt key
Step6. Your default value should be cmd.exe /k pushd %L



Your popup menu when you right click on a folder will now contain an option called "Open command window here" which will open a command prompt in the selected folder.



Part2 - Windows 7
Nothing had to be done to the registry. To open the command prompt, just right-click on the folder while pressing the Shift key/button at the same time. To make it clearer, I make it into steps as follow:

Step1: Select the folder you want to open in the command prompt
Step2: Right-click on it while holding the Shift key


Step3: Select Open command window here



This tutorial is tested on Windows 8. But, it should works on all version of Windows (XP\VISTA\W7).
 
Tutorial by basicxtutorial. 

0 comments:

Post a Comment