Question:
Change cmd home directory?
Toe
2009-10-30 07:55:42 UTC
I need to change the home directory for cmd, so it's in the desired directory every time I launch it. I know about the cd/chdir command, and use it, but I want to know how to change the directory it starts in.
Three answers:
Mark aka jack573
2009-11-03 06:33:44 UTC
It is easiest to do it if you create a shortcut to the cmd.exe



Then right click on the short cut and select Properties.

In the window that opens up, select the Shortcut tab.

You should see a text field that is for Start in:

Put the directory you want it to start in in there.

Press the OK button.



Next time you open cmd with this short cut, it should open in the directory you want. This is assuming you wrote the correct path for the directory.



Good luck.
Risk-averse
2009-10-30 08:06:19 UTC
Launch it using a shortcut, and set the directory in the Properties of the shortcut.
Kiran
2009-10-30 08:01:15 UTC
http://windowsxp.mvps.org/autoruncmd.htm



Check the url. I guess it helps.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...