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.

This question already has an answer here:

When I run cmd.exe, the directory I start in is my home directory (C:\Users\Edd>)

When I pin cmd.exe to the start menu and run it from there the directory I start in is C:\Windows\System32>

How can I update the default directory for Windows Command Processor to be my home directory?

A quick note: aside from the difference in default directory, the titles of the windows are also different. cmd.exe has the title "C:\Windows\system32\cmd.exe" and when I run it from the pinned menu item it is "Windows Command Processor".

share|improve this question

marked as duplicate by Karan, gronostaj, soandos, Nifle, mpy Jun 26 '13 at 18:52

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.

1  
superuser.com/questions/87398/… –  Jan Doggen Jun 25 '13 at 14:54
add comment

1 Answer

up vote 2 down vote accepted

If you have a shortcut that starts cmd.exe, right-click on it, choose Properties, and change 'Start in' to the desired directory.

share|improve this answer
    
You can use environment variables, so %HOMEDRIVE%%HOMEPATH% vs a hard coded path. –  Brian Jun 25 '13 at 18:29
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.