How can I open a cmd window in a specific location without having to navigate all the way to the directory I want?
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:
cd /d
C:WindowsSystem32cmd.exe /K "cd /d H:Python"
(documentation)
1.4m articles
1.4m replys
5 comments
57.0k users