Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

Not the answer you're looking for? Browse other questions tagged .