Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to customise command prompt to open at a particular directory? For example, my mercurial repositories are all stored at C:\dev\repo. Obviously it makes things easier if I can customise command prompt to open here by default.

share|improve this question
Duplicate:, "Change to default start folder for Windows XP command prompt" – Peter Mortensen Mar 23 '10 at 14:55
up vote 3 down vote accepted

You can use one of the Microsoft's free PowerToys, which is CmdHere.exe.

This PowerToy adds an "Open Command Window Here" context menu option on file system folders, giving you a quick way to open a command window (cmd.exe) pointing at the selected folder.

alt text

share|improve this answer

You need to create a shortcut to cmd.exe and in the Shortcut's properties edit the Start In field.

Also, take a look at the Colors tab - I have different colour schemes for different tasks so I can immediately distinguish which I am using when I have many open.

Create Shortcut

Shortcut Title

Shortcut Properties



System CMD

share|improve this answer
Thanks for the help, worked a treat. Ive actually used this process to run powershell instead. – richzilla Mar 23 '10 at 15:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .