Is there a way to open a command window, with current path as the current Explorer folder, with a keyboard shortcut?

Something like:

SHIFT+RIGHT CLICK, Click on "Open window command here"

but with a simple keyboard shortcut?

enter image description here

2 Answers 2


When viewing the desired folder in Explorer you can also type cmd in the address bar and press enter. This will open a cmd window at that location. You can also use ALT+D to focus the address bar if you don't want to take your hands off the keyboard.

  • Wow, this is really great, I didn't know the "write cmd in address bar" trick! (Remark : ALT D doesn't work for me, but F4 does)
    – Basj
    Dec 11, 2017 at 20:43

There's no way to do it out of the box, but this does the trick with AutoHotkey, with WIN+S:

Sendmode INPUT
Send {shift down}
send {shift up}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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