How can I call out Windows CMD and autocd into the project path from intellij?
In windows 10 cmd has much better user experience. So I disabled embeded terminal and switch to use cmd. However I cannot find a hotkey to call out cmd quickly. Any help is very much appreciated!
Please sign in to leave a comment.
Use an external tool and assign a hotkey to it: https://www.jetbrains.com/idea/help/configuring-third-party-tools.html .
Pass a command with the project root dir variable to cd.
Thanks for your suggestion. I've wrote a external tool as you mentioned but the cmd window did not pop out. It embeded into intellij's frame just like the old Terminal plugin did.
Use "start" to fork a new window:

/C "start cmd.exe /K "cd $ProjectFileDir$""
Great! In fact I only use /C "start cmd.exe" as parameter and it works like a charm. Thank you.