# Windows – Cmd always start on wrong drive

command linewindows xp

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?

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.