Windows – How to open a cmd window in a specific location

cmdwindows

How can I open a cmd window in a specific location without having to navigate all the way to the directory I want?

Best Solution

This might be what you want:

cmd /K "cd C:\Windows\"

Note that in order to change drive letters, you need to use cd /d. For example:

C:\Windows\System32\cmd.exe /K "cd /d H:\Python\"

(documentation)