Change default command line path for command prompt.

Coldkilla

Diamond Member
Oct 7, 2004
3,944
0
71
I've been googling this forever and have no idea how to properly search it.

My command line (Run > cmd) is defaulted to this location:

C:\Documents and Settings\Administrator

I'd like it to just be C:

How can I do that?
 

bruceb

Diamond Member
Aug 20, 2004
8,874
111
106
See this link:

http://windowsxp.mvps.org/autoruncmd.htm

Just found out the Easy Way to do this:

Right click on the shortcut of "Command Prompt", then you will see a textbox labeled "Target", change the address in this textbox to C:\ .... this will work (I just tried it. It does.) If you need it the default target is: %HOMEDRIVE%%HOMEPATH%
 

Coldkilla

Diamond Member
Oct 7, 2004
3,944
0
71
Switching the default Target from: %HOMEDRIVE%%HOMEPATH% to C:\, that simply creates a shortcut opening the C drive folder. I'll check out the other way though. Thanks!
 

bruceb

Diamond Member
Aug 20, 2004
8,874
111
106
Sorry my error ... Typo .. It should have said 'change the Start In box' to: C:
and it does work .. I did it here just now