How to bring “open command window here” back

If you are Windows 10 user, then you are probably aware that Microsoft has removed “Open command window here” from the context menu, in favour of PowerShell.

For those of you, who use CMD frequently and desperately missing this feature, follow along with this article.

You need to do some registry tweaks to get it back. Don’t get scared !!!

Step 1: Open Registry Editor

Press Windows+R to open “Run” window. Type regedit and press enter

Or

Search for regedit in search bar, then click on it

It will open up the Registry editor, and by default, Computer node will be selected, as shown below.

Step 2: Navigate to “Computer\HKEY_CLASSES_ROOT\Directory\shell” node.

Manually traversing the nodes is tedious. Let’s use the search bar in Registry Editor for this.

As shown below, type the path in the text box, and it will take you to the required node.

Step 3: Add a new child to shell node

Right-click shell node, click on New and then click on Key as shown below.

It will create a new child inside the shell node as shown below, and New Key #1 will be highlighted.

Choose any name for the key. Let’s go with cmd_. Type the same in the text box and hit enter.

Step 4: Modify the default string key within the newly created cmd_ node

Right-click (Default) string key, then click on Modify…

It will open up “Edit String” Dialog. Type Open Command Here or Open Command Window Here as per your liking, in the Value Data text box as shown below. Click OK.

Step 5: Add child to cmd_ node

Right-click cmd_ node, click on New and then click on Key as shown below.

It will create a new node. Type command in the text box and hit enter.

Step 6 (Final Step) : Modify the default string key within the newly created command node

You have shown a lot of patience. Let complete this last step.

Right-click (Default), then click on Modify…

Type cmd.exe /s /k pushd “%V” in the text box as shown below and hit OK.

Done !! That’s it…

You will get the “Open Command Here” back.

Please do share and hit the applaud button if you liked the story.

Thank you !!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store