7

I used to Shift + mouse right click to open cmd in current folder. It is the fastest way I think, there are some relate solution in superuser:

In how-can-i-open-a-command-prompt-in-current-folder-with-a-keyboard-shortcut

  1. Shift + Menu(or Shift + F10), W, Enter

    need enter 4 key, and type 3 time.(I think it worked on all windows(at least from 7 to 10 I have tested)

  2. The AHK way. You just need to press Win + C (please see detail in above question), but you need install ANK, paste script and set it in windows startup.

Is there any easier and faster way to do such thing in Windows 10?

Mithril
  • 937

5 Answers5

5

There only need three key in windows 8/10:

Alt + F, P

Just three key and type twice , without help of another program.


For somenoe feedback that shortcut not work:

I would show you how to find the correct key here

note: my system lang is Chinese, but layout is same, you wouldn't miss it.

  1. You need open a folder

    Note:Open command prompt option may be grayed out at some place, thanks for @PIMP_JUICE_IT's answer, click to see detail..

    You need enter a real folder, special folder such as Favorite would not work, because it doesn't have a real path, I have a try and find:

    green folder is not real folder(shortcut not work), but folder in red zone is Ok

    enter image description here

  2. press and hold Alt, you would see the hotkey of File Button(top left window)

    enter image description here

    It is F in my system. F maybe different in you system, just replace it.

  3. Hold Alt + F(replace F with Your system File key) , you would see the hotkey mark too.

    enter image description here

    P is cmd shortcut here(replace P with the Your system cmd key you see)

Then just do:

Alt + Your system File key, Your system cmd key



PS: If still not work, please check you shortcut binding, there must be some program take the control.

Mithril
  • 937
5

Another Default All Keyboard Method

Once in the current folder with Windows Explorer, press ALT+D, type in CMD and press Enter


CAUTION: Issues with ALT + F + P (and other methods)

The This PC, Quick Access, and other special views in File Explorer is the real issue

  1. It seems if you open Windows Explorer\File Explorer and by default it opens This PC then the Open command prompt option is grayed out and actually pressing the P key at this point does nothing if this is the case. This seems to be an issue for other File Explorer special views as well such as Quick Access.

    enter image description here

  2. When pressing ALT+D, typing in CMD and pressed Enter when on This PC (and Quick Access) via File Explorer, it opens up the command prompt in the C:\WINDOWS\system32 directory.

    enter image description here

4

The fastest way to open a cmd in a specific Windows folder location is: typing cmd into the folder URL and press Enter.

Here is a screenprint to further illustrate it:

enter image description here

Simon
  • 41
3

Easy way with 3 keys, no extra settings needed:

Alt + D, E


Pressing Alt + D will open up the menu in Windows Explorer with mnemonics enabled and shown.

Then just press the mnemonic key for CMD, which will open it immediately. In my case it's E, but it might be different for you, depenending on your system language.

0

If you can slightly tweak the "Open command window here" verb, you can save 2 keystrokes. Assumes no files are currently selected in the folder.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\directory\Background\Shell\cmd]
@="Open co&mmand window here"
"Extended"=-

This REG fix does 2 things:

  1. Removes the string value named Extended so that you don't have to use SHIFT key access the command.

  2. Changes the accelerator to letter m instead of w. As no other menu items use m, pressing Menu key + m launches Command Prompt window, without having to press ENTER. (This works at least in English language versions of Windows.)

If you change your mind and want to revert back the settings to defaults, use this REG file.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\directory\Background\Shell\cmd]
@="@shell32.dll,-8506"
"Extended"=""
w32sh
  • 12,379