I found how to add opening a command prompt to the right-click menu here -

This works in File Explorer on Folder and whitespace selection, but only on folders for the Desktop.

When I right-click on the desktop and select this I see the following -

enter image description here


  • Location specified command prompt start


  • Context menu selection through right-click of target location

Right-Click Locations:

A. Folder in File Explorer
B. File Area in File Explorer
C. Folder on Desktop
D. File Area on Desktop (e.g. right-clicking empty space)


  • #D is not working for my computer. A/B/C work as expected

What is causing this error?

  • 3
    Undo your registry edit, then see this article, it is built into W10 except it offers powershell instead of cmd.....thewindowsclub.com/… – Moab Oct 18 '19 at 21:18

Those instructions are for much older versions of Windows.

On Windows 10, two new keyboard shortcuts exist:

Command Prompt:

Windows+X, C

Administrator Command Prompt:

Windows+X, A


C and A work for the English version of Windows 10. For other languages these might be different.

After you press Windows+X you will see one letter underlined in each menu item (usually the first or second letter) which is the keyboard shortcut for that item.

enter image description here


These shortcuts can be configured to open either PowerShell or Command Prompt.

The default option is PowerShell but this can easily be toggled to Command Prompt in Taskbar Settings:

enter image description here

  • this solution is language specific! c and a might be different in a non English win10 os, I added a bit of explanation – Albin Oct 19 '19 at 13:38
  • Thanks Albin! I decided not to mention other languages just in the interest of brevity but perhaps it is worth mentioning it after all. 👍 – Mr Ethernet Oct 19 '19 at 14:51
  • Hi Mr. Ethernet, those shortcuts rock, thank you! This does not not address the original question though, I have updated the question with more details – J-Dizzle Oct 20 '19 at 14:54
  • Does the issue only happen in your Windows user account or with all accounts? – Mr Ethernet Oct 20 '19 at 15:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.