Wednesday, November 17, 2010

How can I make Command prompt open to the directory 'C:\' instead of 'C:\Documents and Settings'?

It's kind of annoying having to change directories from within the command shell whenever I open Command Prompt. Is there any way to change the directory that it opens to? Thanks for the help...How can I make Command prompt open to the directory 'C:\' instead of 'C:\Documents and Settings'?
Go to Start -%26gt; Programs -%26gt; Accessories, then right-click on Command Prompt and select Properties from the menu that appears. Now append

/k ';cd \';

to the end of the Target field and click OK.

Now run the Command Prompt by running Start -%26gt; Programs -%26gt; Accessories -%26gt; Command Prompt



You can of course copy the Command Prompt shortcut and put it in a more convenient place, like the desktop or the quicklaunch bar (just use drag and drop)How can I make Command prompt open to the directory 'C:\' instead of 'C:\Documents and Settings'?
You can also change the value in the ';Start in:'; field. Just set it to C:\

Report Abuse


start%26gt;run%26gt;type cmd
start-%26gt;run and type the following command:



cmd /K cd c:\
Assuming you have XP...if you have another OS let me know.



To make it so that you always open to the C prompt, click on the Start button and go to Run. Type in regedit and hit enter.



Browse to HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Command Processor \ AutoRun. In the right pane, double click Autorun and type in cd\ as the value data.

No comments:

Post a Comment