Windows: Want to quickly run a command from within Windows Explorer? It turns out Windows has a built-in way to do this. Simply type in "cmd" in the address bar, and it will open the command prompt with the path to your current folder already set.
So you can hit Alt+D to highlight what's in the address bar, type in "cmd" and you're all set. This is a much simpler method than using an AutoHotkey script to accomplish the same thing.
How-To Geek notes that you can also run other commands from the address bar, such as opening a specific file in Notepad.