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.

For some reason when I do Start, Run, cmd, Enter it always starts at M:, one of several mapped network drives.

I'd rather have it start on C:, or in C:\dev if possible. Is there a way I can fix this?

share|improve this question
3  
It could be that drive M: is mapped as the user's "home" folder. –  Majenko May 12 '11 at 8:20
    
@Matt: Yeah, that actually seems to be the case. So I suppose that's why it starts there :) –  Svish May 12 '11 at 8:33

2 Answers 2

up vote 4 down vote accepted

Create a shortcut to cmd.exe (on the desktop or in your Start menu) and right click on it, select properties. I've forgotten what it's labeled in XP, but in Windows 7 it says "Start in:" put your directory in that box.

For a more permanent solution, you can edit the registry and change the HKEY_CURRENT_USER\Software\Microsoft\Command Processor's Autorun value. See this for details.

share|improve this answer
1  
Used the shortcut trick. Worked perfectly, and doesn't mess with default behaviour and registry stuff :p –  Svish May 12 '11 at 8:32
    
@Svish great! :) –  jonsca May 12 '11 at 8:34

Check the registry key HKEY_CURRENT_USER\Software\Microsoft\Command Processor, item Autorun.

If Autorun contains something like CD /d M:\, just change it to CD /d C:\dev.
If not, then let me know its value on your computer.

share|improve this answer

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.