The fastest way to open cmd in current folder by shortcut (windows 8/10)?

24,519

Solution 1

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.

Solution 2

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

Solution 3

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

Solution 4

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.

Share:
24,519

Related videos on Youtube

Mithril
Author by

Mithril

Updated on September 18, 2022

Comments

  • Mithril
    Mithril over 1 year

    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?

  • Valentin Kuhn
    Valentin Kuhn almost 8 years
    For me, the C in CMD already closes the current Explorer Window, whereas E would open CMD (and P opens Powershell)
  • Lasse Meyer
    Lasse Meyer almost 8 years
    Are you sure this is working by default? It's not working for me. Alt+F does nothing, so if I press P it just searches for P.
  • Vomit IT - Chunky Mess Style
    Vomit IT - Chunky Mess Style almost 8 years
    +1 from me, your solution works just fine. . . look over my answer below and the section I added labeled: CAUTION: Issues with ALT + F + P (and other methods) --this may explain what people are experiencing.
  • Vomit IT - Chunky Mess Style
    Vomit IT - Chunky Mess Style almost 8 years
    What's your system language?
  • Mithril
    Mithril almost 8 years
    @PIMP_JUICE_IT Thanks for the tip. How to add the reference link to your answer?
  • Lasse Meyer
    Lasse Meyer almost 8 years
    German, E for 'Eingabeaufforderung', a horrible word for command prompt.
  • toringe
    toringe about 7 years
    This was working for me, but with the Windows 10 ugrade to Version 1703, the 'Open Command Prompt' entry in the file menu is now gone.
  • phuclv
    phuclv almost 6 years
    after Alt+D I have to press c (for cmd) then down arrow and enter to open it
  • phuclv
    phuclv almost 6 years
    now in Windows 10 there's only power shell in the menu