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.

I need to run a command from CMD, to open CMD in 'C:\Users' or some arbitrary directory. In linux I just use the parameter '--working-directory=' but in windows I can't fid a way to do it.

Also I need to do it in windows xp, vista and 7. Anyone can help?

share|improve this question
    
Related: superuser.com/q/403362/100787 –  iglvzx Aug 13 '12 at 22:35
add comment

1 Answer

up vote 3 down vote accepted

1) You may use following command in cmd prompt

start cmd /k cd /d "C:\users"

2) Or, switch to alternative console ConEmu (I'm the author of it) and run

cmd "-new_console:d:C:\Users"

Some user comments on StackOverflow about it.

share|improve this answer
    
Thanks a lot, it works! Does ConEmu offers extra advantages over cmd? –  Topo Aug 13 '12 at 22:29
1  
Yep. ConEmu offers hundreds of useful options :) Tabs, Ansi X3.64, handy text selection, quake mode, palettes, smooth resize, application distinct options, and much more. –  Maximus Aug 13 '12 at 22:31
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.