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

1

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".

Edd

Posted 2013-06-25T14:44:38.750

Reputation: 329

Question was closed 2013-06-26T18:52:36.767

Answers

2

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

Jan Doggen

Posted 2013-06-25T14:44:38.750

Reputation: 3 591

You can use environment variables, so %HOMEDRIVE%%HOMEPATH% vs a hard coded path. – Brian – 2013-06-25T18:29:29.803