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.

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

1 Answer 1

You can use the doskey command, have a look at http://en.wikipedia.org/wiki/DOSKey

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 or ask your own question.