Windows » Common

Command Line – Set the Default Startup Directory

1. Go to the Registry editor:

Win+R -> "regedit"

2. Go to the following branch:

HKEY_CURRENT_USER\Software\Microsoft\Command Processor

3. Find the key or create a new one (as a String key) with this name:

Autorun

CMD Default Directory
4. Change its value to a string with this format:

cd /d [path]

where the [path] is a folder path

5. The changes should apply the next time you open the Command Line window (cmd.exe).

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>