command shell home directory

  • Thread starter Thread starter jenny
  • Start date Start date
J

jenny

when i open a new command shell window it starts me in a
dirctory that I don't want to be in, I'd like to change
it to c:\. How do I change this?
 
jenny said:
when i open a new command shell window it starts me in a
dirctory that I don't want to be in, I'd like to change
it to c:\. How do I change this?

In the Registry at
HKEY_CURRENT_USER\Software\Microsoft\Command Processor
add a new String value type
AutoRun
and set this to a value data of
cd\
 
You can also do this with a custom shortcut. Right-click a blank area of the
desktop and go to New \ Shortcut. Enter "cmd" (without quotes) as the
command line. Once you're done, right-click the shortcut and go to
Properties; then enter "c:\" in the "Start In" field.
 
Back
Top