Command prompt

  • Thread starter Thread starter David
  • Start date Start date
D

David

How do you change the default path in the command prompt
in windows XP?

Thanks
 
-----Original Message-----


Eh?

try typing CD\

Thanks but that is not what I am asking. When you start
up the commandline how do you change the default path
without using CD? Having to type out a long line to
change it to the only folder that I use in the command
prompt everytime i start it up is a royal pain.
 
Hi David,

Right-click the shortcut, choose properties. In the "start in" path, type in
where you want it to begin. For instance, if you just want a C prompt at the
root, put in C:\, click apply/ok when finished.
--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x
Windows isn't rocket science! That's my other hobby!

Associate Expert - WinXP - Expert Zone
 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor

Locate the Autorun value in the right pane, right click and select Modify.
Change it to the CD command you wish to use. Example

CD \Windows

Now every time you open a Command Prompt window, it will automatically open
to the Windows folder, or the folder you specify.

If you change this value to point to a specific BAT file, instead, you can
use the BAT file to run multiple commands.
 

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

Back
Top