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.

link|improve this question

45% accept rate
Duplicate: superuser.com/questions/49575, "Change to default start folder for Windows XP command prompt" – Peter Mortensen Mar 23 '10 at 14:55
feedback

2 Answers

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

link|improve this answer
feedback

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

AV CMD

SVN CMD

System CMD

link|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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.