Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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: superuser.com/questions/49575, "Change to default start folder for Windows XP command prompt" –  Peter Mortensen Mar 23 '10 at 14:55
add comment

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

share|improve this answer
add comment

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

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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