Windows 10: Open command window here - Add in Windows 10  

Page 1 of 4 123 ... LastLast
    Open command window here - Add in Windows 10

    Open command window here - Add in Windows 10

    How to Add 'Open command window here' context menu in Windows 10
    Published by Category: Customization
    23 Sep 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 23,695

    Show Printable Version 


    How to Add 'Open command window here' context menu in Windows 10

    information   Information
    A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on your computer without using the Windows graphical interface.

    Starting with Windows 10 build 14986, the Open command window here context menu item has been removed by default and replaced with the Open PowerShell window here context menu item.

    This tutorial will show you how to add or remove a Open command window here context menu for all users in Windows 10.

    This context menu will open a command prompt using the same working directory that you right clicked on.

    Note   Note
    While you must be signed in as an administrator to add and remove the "Open command window here" context menu, all users can use the context menu when added.

    The "Open command window here" context menu will be available when you right click or shift + right click on a folder or drive, and when you right click or shift + right click on the background of a folder, drive, library, or desktop.


    EXAMPLE: "Open command window here" context menu
    Click image for larger version. 

Name:	Open_command_window_here_context_menu.jpg 
Views:	347 
Size:	153.3 KB 
ID:	113086



    Here's How:

    1. Do step 2 (add-right click), step 3 (add-Shift+right click) , or step 4 (remove) below for what you would like to do.


     2. To Add Right Click "Open command window here" Context Menu

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Add_Open_command_window_here.reg

    download


     3. To Add Shift + Right Click "Open command window here" Context Menu

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Add_Shift+Open_command_window_here.reg

    download


     4. To Remove "Open command window here" Context Menu

    NOTE: This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Remove_Open_command_window_here.reg

    download

    5. Save the .reg file to your desktop.

    6. Double click/tap on the downloaded .reg file to merge it.

    7. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.

    8. You can now delete the downloaded .reg file if you like.



    That's it,
    Shawn


    Related Tutorials




  1. Posts : 114
    Windows 10 Edu
       10 Dec 2016 #1

    Thanks again, for your awesome contributions to the community!
      My ComputerSystem Spec


  2. Posts : 23,695
    64-bit Windows 10 Pro build 16362
    Thread Starter
       10 Dec 2016 #2

      My ComputersSystem Spec

  3.    17 Apr 2017 #3

    Is it possible to re-add Command Prompt also from Explorer "File" menu as it was before Windows 10 CU?

      My ComputerSystem Spec


  4. Posts : 23,695
    64-bit Windows 10 Pro build 16362
    Thread Starter
       17 Apr 2017 #4

    Hello @hexaae,

    I haven't found a way to add it back to the File menu yet, but I will keep an eye out.
      My ComputersSystem Spec


  5. Posts : 3
    Windows 10 Pro 1703 15063.138
       20 Apr 2017 #5

    Hello.
    I added "Open Command Prompt Here" a few days ago. Everything worked fine until I noticed It added to the context menu of my Start10. Which caused an issue with the right hand menu (folders and etc) every time I click on a folder Link it opens the command prompt now instead of the folder. so I removed "Open Command Prompt Here". It removed it on the computer but not from start10 context menu. any help would be greatly appreciated thank you.
      My ComputerSystem Spec


  6. Posts : 23,695
    64-bit Windows 10 Pro build 16362
    Thread Starter
       20 Apr 2017 #6

    Hello Jeff, and welcome to Ten Forums.

    The "Open command prompt here" context menu adds entries at the registry key locations below. The remove .reg file will remove them from there. You could double check in your registry to see if the cmd2 keys have been removed at all the locations below in Registry Editor (regedit.exe).

    If they have been removed, then something else is causing this.

    Code:
    [-HKEY_CLASSES_ROOT\Directory\shell\cmd2]
    
    [-HKEY_CLASSES_ROOT\Directory\Background\shell\cmd2]
    
    [-HKEY_CLASSES_ROOT\Drive\shell\cmd2]
    
    [-HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\cmd2]

    Does this happen with folders in Windows Explorer as well?

    If it does, then you might see if downloading and merging the .reg files for the listed Directory and Folder items in the table of Option 2 in the tutorial below may help. It will restore their default registry entries.

    Restore Default File Type Associations in Windows 10 - Windows 10 Customization Tutorials
      My ComputersSystem Spec


  7. Posts : 3
    Windows 10 Pro 1703 15063.138
       20 Apr 2017 #7

    Hello Brink and Thank you for your reply.
    I had to go into the registry and search for either "cmd2" or "Open command window here" which both lead me to the "cmd2" folder that was added in another location. I deleted the folder and all works great now.
      My ComputerSystem Spec


  8. Posts : 23,695
    64-bit Windows 10 Pro build 16362
    Thread Starter
       20 Apr 2017 #8

    Great news.

    Do you remember the location that caused this for you?
      My ComputersSystem Spec


  9. Posts : 3
    Windows 10 Pro 1703 15063.138
       21 Apr 2017 #9

    Sorry I didn't catch the Path/Location in regedit. If it ever happens again I will post the results.
    I figured out what caused this issue I had though. I used "Winaero Tweaker" and the Add_Open_command_window_here.reg that you have above at the same time.
    The "Winaero Tweaker" added the new path/location settings in registry which caused an issue with my Start10, your posted removal.reg above removed the other options from the desktop/folder context menus. But Even though I used your removal.reg the to remove it. The "Winaero Tweaker" kept it stuck in the Start10 context menu which caused an issue with my right side folders context menu and only opened command prompt when even while left clicking because it made it an active link. It's better to only use one or the other I have found out LOL. now with Winaero Tweakers Open Command Prompt Here removed as well as registry key's the Start10 doesn't have it at all now even with your Add_Open_command_window_here.reg applied.
      My ComputerSystem Spec


 
Page 1 of 4 123 ... LastLast

Related Threads
How to Add 'Open command window here as administrator' context menu in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on...
How to Open an Elevated Command Prompt in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands in an elevated command prompt, you can perform tasks that require...
General Tips Open Command Prompt in Windows 10 in Tutorials
How to Open a Command Prompt in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on your computer without using the Windows...
How to Open a Command Prompt at Boot in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on your computer without using the...
I want to use the command line to open the "Custom sizing options" window in Windows 10, please view the image, thank you. 99228
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 12:38.
Find Us