How To Open Command Prompt In a Folder in Windows 10/11

You shall notice that by default whenever you open the command prompt by going to run > cmd then it opens in the profile directory path. At times you need to open the command windows within the existing folder path that is open instead of PowerShell. This tutorial shows you how to open CMD in the current folder for Windows 10 or Windows 11.

This is a command line with which users are able to execute different commands and programs. Microsoft is removing its support from all the major platforms of windows. PowerShell being an alternative provides support to all the commands of DOS and many others. There are users who still emphasize using it.

Open cmd in current folder

If you have a program on this that is not listed in the PATH variable then it shall give you an error that it is not able to find that executable file. Now, for this, you need to go to the folder manually where the specific program is located. One way is that you type in the complete path of the file or you can also open it directly inside the folder. We recommend the second approach as it is more visual and easy to implement.

If you are a guest user then you just need to open the folder > file menu > open windows PowerShell. You shall have the option to open it as an administrator.

5 Ways on How To Open Command Prompt Inside a Folder on Windows 10/11

Open Command Window Here with Registry Editor

  • In the firsts step you need to click on Windows + R, type in Regedit. This shall open for you the Registry Editor.
  • After this, you need to go to HKEY_CLASSES_ROOT, and then go into Directory\shell\cmd.
  • Click right on “permissions”.
  • Now you need to select the “advanced” option.
  • After this tap on “change” present at the top of the window.
  • Add in your username there in the “Enter the object name to select”, click on “check name” in order to validate that name.
  • Hit on “apply” and then “ok”. Once you are done with those administrative modes in group or usernames of permissions for the cmd windows you need to tick on “allow” on the full control. Click on “apply” and then “ok”.
  • Now, you need to click on HideBasedonVelocityID and rename this to ShowBasedonVelocityid.
  • As you press the shift button and click right you shall be able to see the option “open command window here”.
Recommended:  How to Install and Use WhatsApp For Firestick (2023 Guide)

This shall add in “open command window here” permanently to the windows context menu. After editing the registry, you shall be able to open this by clicking right inside any folder and clicking on “open command window here”.

READ ALSO: How To Fix EFI BCD Bootloader Issues on Windows 10.

Adding “Open Command Window here” via REG

This has the same method which has been explained above.

  • In the first step, you need to download the REG file.
  • Run it.
  • It shall add the desired values inside the windows registry automatically.

If values do not come after running this file then all you need to do is restart windows explorer or the system.

For this you need to download the following file:

Open Command Prompt in Windows Context Menu (REG File)

This shall add in a context menu option for the admin command prompt.

Using CMD in File Explorer

Open CMD in folder shortcut

  • In the first step, you need to go to the desired folder, click on the location bar of windows explorer.
  • After this you need to type in “cmd”, click on “enter”.
  • Command prompt shall open in the folder.

The only drawback of this method is that it shall open this in the regular user privilege mode and not in the administrative mode. To open in this mode:

  • In the first step, you need to press Windows + R and type in cmd.
  • After this, you need to click on Ctrl + Shift + Enter in spite of just clicking enter to open it up in this mode.
  • You can also open a PowerShell window by using the same method/technique. For this, you need to go to the folder, type in PowerShell in the file explorer bar. This shall open it in the same folder location or path.

READ ALSO: Fixed: Enabling Local Group Policy Editor in Windows 10/11 Home Edition.

Open Command Prompt using Keyboard Shortcuts

If you do not have any time then this is the easiest of all the methods.

For this:

  • In the first step, you need to go to the required folder.
  • After this, you need to click on Shift + Right-click mouse button anywhere in the folder window.
  • Now, click on the “open command window here” option there from the context menu.

Getting Command Prompt Back in Win+X

Open Command Prompt in Folder Using Windows Explorer

If you want to change the Windows PowerShell options with the command prompt then:

  • You need to go to settings > personalization > taskbar.
  • After this, you need to turn off the option of “release command prompt with windows PowerShell” option in the menu when we click right on the start button or press Windows Key + X.
Recommended:  How To Install and Use WhatsApp for Linux (Easy Guide)

Command prompt remains quite an important part of the windows OS and using the methods explained above you shall be able to make productive use of your time by using shortcuts.

READ ALSO: How To Disable Microsoft Edge InPrivate Browsing.

Your Turn

It is now your turn to try the above however we have covered every step in our guide for how to open command-prompt in a folder on Windows 10/11. This method is useful because you are using CMD instead of PowerShell. We have also shared a REG file that helps you create an open CMD in folder shortcut for quick access.

Leave A Reply

Please enter your comment!
Please enter your name here