HomeBlogsHow to have Com­mand Prompt on Win­dows 10 in Con­text Menu

How to have Com­mand Prompt on Win­dows 10 in Con­text Menu

This tutorial is about How to have Com­mand Prompt on Win­dows 10 in Con­text Menu. Recently I updated this tutorial and will try my best so that you understand this guide. I hope you guys like this blog, How to have Com­mand Prompt on Win­dows 10 in Con­text Menu. If your answer is yes after reading the article, please share this article with your friends and family to support us.

Check How to have Com­mand Prompt on Win­dows 10 in Con­text Menu

The command prompt is an incredibly useful way to accomplish certain tasks. For example, if you want to run programs with special parameters, the command prompt is a faster way to do it. The problem is, navigating the directory structure of a modern computer can be a real problem when using the command prompt. Especially since Windows 10 supports such long program and folder names. The good news is that you can open the command prompt directly from a Windows Explorer window. Taking you directly to the location of that folder.

In early versions of Windows 10, there was a context menu entry called “Open command window here”, which would open the command prompt in the folder location you specified. For example, if you right-click a folder and use this command, the command prompt starts at the current folder location. Microsoft removed this option after the 2017 Creators Update for Windows 10. Why? This is most likely due to Microsoft’s effort to prevent people from using the command prompt and using PowerShell.

Recovering this command is not too difficult, but it does require some tweaking in the Windows Registry. It’s best to skip this method if you’re not comfortable doing it, but if you really want to get that context menu option back, here’s what to do.

Add the option “Open command window here” to the context menu of the folder

  • To add the Open command window here option to the context menu that is displayed when you right-click a folder, press Windows Key + R to open the Run dialog box. Then type: regedit in the Open box and click OK.
  • If the User Account Control dialog appears, click Yes to continue. You may not see this dialog, depending on the User Account Control settings.
  • Navigate to the following registry key. You can copy the full path below, paste it into the box just below the menu bar, and hit Enter to get to the key quickly.

HKEY_CLASSES_ROOT Directory shell cmd

  • Make sure the cmd key is selected. Then right-click the HideBasedOnVelocityId value on the right and select Rename.
  • Rename the HideBasedOnVelocityId value to ShowBasedOnVelocityId and press Enter.
  • Close Registry Editor and restart the Windows Explorer process.
  • Now you can Shift + right click on a folder, not it, and select Open command window here.

Hide the option “Open PowerShell window here”

  • If you want to hide the option Open PowerShell window here, go to the following path in Registry Editor:

HKEY_CLASSES_ROOT Directory shell Powershell

  • Then take ownership of the Powershell key and grant yourself full control permission
  • Right-click the ShowBasedOnVelocityId value, select Rename, and change the name to HideBasedOnVelocityId.
  • Close Registry Editor and restart the Windows Explorer process.
  • The Open PowerShell window here option is removed from the context menu in File Explorer.

Add the option “Open command window here” to the context menu in an open folder

  • So far, we have explained how to add the Open command window here option to the context menu when you Shift + Right-click a folder, but not a currently open folder.
  • You can also enable the Open command window here option from the context menu in an open folder.
  • Open the registry editor as we showed you above and go to the following key.

HKEY_CLASSES_ROOT Directory Background shell cmd

  • Take ownership of the cmd key and grant yourself full control permission.
  • Make sure the cmd key is selected. In a blank area of ​​the right pane, right-click the HideBasedOnVelocityId value and click Rename.
  • Then change the name to ShowBasedOnVelocityId.
  • Close Registry Editor and restart the Windows Explorer process.
  • Now it can be in a folder, Shift + right click on the right pane of File Explorer and select Open command window here.

Final remarks: How to have Com­mand Prompt on Win­dows 10 in Con­text Menu

I hope you understand this article, How to have Com­mand Prompt on Win­dows 10 in Con­text Menu. If your answer is no, you can ask anything via the contact forum section related to this article. And if your answer is yes, please share this article with your friends and family to give us your support.

James Hogan
James Hogan
James Hogan is a senior staff writer at Bollyinside, where he has been covering various topics, including laptops, gaming gear, keyboards, storage, and more. During that period, they evaluated hundreds of laptops and thousands of accessories and built a collection of entirely too many mechanical keyboards for their own use.

RELATED ARTICLES

Must Read

- Advertisment -