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.
Asked
Active
Viewed 252 times
2
happy_soil
- 2,421
richzilla
- 2,423
-
Duplicate: http://superuser.com/questions/49575, "Change to default start folder for Windows XP command prompt" – Peter Mortensen Mar 23 '10 at 14:55
2 Answers
4
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.






-
Thanks for the help, worked a treat. Ive actually used this process to run powershell instead. – richzilla Mar 23 '10 at 15:22
3
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.

Gareth
- 18,809
Mehper C. Palavuzlar
- 55,487