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

Possible Duplicate:
Shortcut to command prompt pointing to specific folder

My command line shortcut defaults to C:\Users\Username. I would like to be able to create a shortcut that when launched will default to something like C:\Path\To\Visual Studio 2010\Projects so I can save myself some keystrokes when I need to issue some mercurial commands.

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, paradroid, Majenko, DMA57361 Apr 28 '11 at 12:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

@techie007 Wow, that was so easy I feel kind of silly. Thanks for the link. – Pete Apr 27 '11 at 18:29
No problem. The 'related' list on the right helped me find it. ;) – Ƭᴇcʜιᴇ007 Apr 27 '11 at 18:41

You can use the doskey command, have a look at

In your case, this might do the trick:

doskey gotoprojects="cd C:\Path\To\Visual Studio 2010\Projects"

(haven't tried out myself, don't have a Windows pc available ATM)

Next, you can use the gotoprojects command.

share|improve this answer

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