The fastest way to open cmd in current folder by shortcut (windows 8/10)?
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.
-
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
-
press and hold Alt, you would see the hotkey of
File Button
(top left window)It is F in my system.
F
maybe different in you system, just replace it. -
Hold Alt + F(replace F with Your system File key) , you would see the hotkey mark too.
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
-
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.
-
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 theC:\WINDOWS\system32
directory.
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:
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.
Related videos on Youtube
Mithril
Updated on September 18, 2022Comments
-
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
-
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)
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 almost 8 yearsFor me, the C in CMD already closes the current Explorer Window, whereas E would open CMD (and P opens Powershell)
-
Lasse Meyer almost 8 yearsAre 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 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 almost 8 yearsWhat's your system language?
-
Mithril almost 8 years@PIMP_JUICE_IT Thanks for the tip. How to add the reference link to your answer?
-
Lasse Meyer almost 8 yearsGerman, E for 'Eingabeaufforderung', a horrible word for command prompt.
-
toringe about 7 yearsThis 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 almost 6 yearsafter Alt+D I have to press c (for cmd) then down arrow and enter to open it
-
phuclv almost 6 yearsnow in Windows 10 there's only power shell in the menu