I suggest you create a step-by-step command that does this in Windows Explorer:
- Press Alt-d (to go to the Address Bar). Your shortcut may be different depending on the language or version of Windows (Keyboard shortcut for the Windows Explorer address bar). Alt-e for German.
- Type
cmd
, then press enter.
This will open the Command Prompt in the directory of the current window.
It's a GUI script. It relies on keyboard shortcuts. It profits from the fact that Alt-d will jump to the Address Bar of Windows Explorer.
There may be more elegant, scriptable solutions that rely on identifying the current path from the window title, you may want to ask on a specialized speech recognition forum for someone to help you with that.
(Inspired by this answer on StackOverflow: https://stackoverflow.com/a/11244240.)