REDIRECTING THE COMMAND PROMPT TO A USER DEFINED DIRECTORY(XP/VISTA)

You still use the command prompt for some tasks. It world be practical if you could

automatically switch to a particular directory when you call up the prompt.

1) Go to START then choose RUN and type regedit.

2) HKEY_CURRENT_USER\

3) Software\

4) Microsoft\

5) CommandProcessor

6) Go to Edit, New, Expandable string value

7) Enter 'Autorun' and press enter

8) The new value type must now be 'REG_EXPAND_SZ'

9) To edit the new entry, double click 'Autorun'.

10) In the value field, enter the command that should be automatically executed

when the command prompt starts.


11) example: cd c:\Windows

*The above value takes you directly to the 'Windows' directory on starting the

command prompt. Similary, you can start up the command prompt at any other directory

of your choice.