Q
Q
Qubc2016-09-21 17:04:36
cmd/bat
Qubc, 2016-09-21 17:04:36

How to change default directory in cmd?

win + r > cmd
C:\users\username
Is it possible to make CMD.EXE open the right folder when I run it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2016-09-21
@Qubc

[HKEY_CURRENT_USER\Software\Microsoft\Command Processor] "Autorun"="cd E:\"

Q
Qubc, 2017-07-10
@Qubc

And if another local drive, then:
"Autorun"="cd /d E:\"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question