My OS is Win7. When I need to open a cmd.exe at current working directory, I will press "shift" key and right click the screen and I will get "Open command window here". Is there any faster way?
Asked
Active
Viewed 684 times
3 Answers
0
No, that's the fastest way... Doing it with a keyboard would be longer than doing it with the mouse.
Canadian Luke
- 24,199
- 39
- 117
- 171
0
You could script it. This AutoHotkey script opens a command window on the folder you're currently browsing by pressing Ctrl + Alt + H:
#IfWinActive ahk_class CabinetWClass ; for use in explorer.
^!h::
ClipSaved := ClipboardAll
Send !d
Sleep 10
Send ^c
Run, cmd /K "cd `"%clipboard%`""
Clipboard := ClipSaved
ClipSaved =
return
#IfWinActive
Courtesy of Lifehacker reader Kevin.
jáquer
- 913
- 7
- 18
0
Try alt + d, type cmd, then press Enter.
cutrightjm
- 4,355
- 4
- 32
- 50
-
@CanadianLuke You sure? It works for me. Alt+D takes you to the address bar, where you type in "cmd" and press enter to open up the prompt. Try just typing "cmd" in the address bar – cutrightjm Dec 17 '14 at 04:15
-
The issue was I was in a "Library" set of folders. Any other folder, and it works. My bad – Canadian Luke Dec 17 '14 at 18:06
-
It's fine, I learned something new thanks to you. I didn't know a Library folder would do that – cutrightjm Dec 17 '14 at 18:28