How to Open Command Line in Windows on Right Click of Folder

We will run many programs in command prompt but we always navigate to the program installed location manually using cd command.  There is an work around to right click on folder name and open a command window on that location. Lets see how to do that.

1. Go to Run type "regedit" and enter.
2. Expand  HKEY_CLASSES_ROOT
3. Navigate to Directory Folder
4. Expand Directory folder you can find the option shell
5.  Create a new key by right clicking the shell as below


cmd

We can give the key as CommandPrompt after key is created ,double click on the key to set the default value. Now we can give value as Run command from here.
Now again right click on new command which we created to create new key and you can put some Name for this for this. Double click the new command we created to set the default value.

Put default value as "cmd.exe /k cd %1"


cmd1
After doing this you can see output as below
conf3

1 Comments

Post a Comment
Previous Post Next Post

Recent Posts