command shell home directory

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?
 
T

Thorsten Matzner

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\
 
D

Delwin Lee [MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top