• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

Change default directory

When I start command prompt, I want to be able to change the default directory.
Please let me know how. Thanks!
1 Solution
See this article:

Change the default Command Prompt directory

1.) Open up registry editor by typing "regedit" [without the quotes] in the search box, and then clicking on the link up top.

2.) Navigate to the key HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor and search for the string "Autorun" in the left window. If that string is not existing yet, create it. Double-click it afterwards and add the new directory path in the following way: CD /d C:\

3.) If you would like the command prompt to open in the system32 folder, use this string instead:
CD /d C:\windows\system32

4.) Close the registry editor, and then open the command prompt to check your work.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now