Right-Click CMD Here

A hidden functionality in Windows allows you to right click on a directory, and select “Command Prompt Here” from the menu.

Here’s the registry hack to get this working. Make sure you back up your registry just in case. I’ll show you the step-by-step method, but you can skip down to the bottom for the alternate reg file.

Step-By-Step Method:

Type regedit.exe into the Start\Run dialog, and then navigate to the following registry key:


Once you are at that key, right click and choose the New Key option:

Name the key “CommandPrompt” without the quotes and then double-click on the default value. Change the text to “Command Prompt Here” as seen here:

Right click on the new Command key and select New key, as you did before. Name the new key Command as well, and then double-click the default value of that key. Set the text of that key to this:

cmd.exe /k cd %1

You can see what it should look like here:

Now when you right click on the folder, you should see this dialog:

That will open up a prompt like this:

Last update:
20-01-2016 17:01
Karl Hudgell
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Latest FAQs RSS

  1. Freeing disk space on your Linux server (20-04-2019 12:48)
  2. Dockerized Download VM (30-01-2019 20:26)
  3. Jmeter + Performance Plugin + Jenkins Pipeline (16-02-2018 12:49)
  4. MySQL DB Backup Script (04-09-2017 10:16)
  5. Replace Cabin Filter (20-02-2017 13:45)