Change default location for Explorer opened via hotkey

On Windows 7, it works this way:

  1. Open regedit, and navigate to:

    HKEY_CLASSES_ROOT\Folder\shell\opennewwindow
    
  2. Rename the sub-key command to command.old, because we can't use it. (Its default value type is REG_SZ and we need a REG_EXPAND_SZ.)

  3. Open a Command Prompt window (cmd) as Administrator, to create a new key with a default value type REG_EXPAND_SZ. (This is not possible via regedit.)

  4. Type the following line and change C:\your\folder to your needs. Press Enter.

    reg add HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command /ve /t REG_EXPAND_SZ /d "%SystemRoot%\explorer.exe /root, C:\your\folder"
    
  5. Press Win+E and Explorer opens at C:\your\folder.


LikeHacker has an article entitled: 'Make Win+E Open the Folder of Your Choice'

It uses AutoHotKey which is a very helpful tool if you like to use your keyboard.

The line that works for me in the Autohotkey.ahk file is:

#e::Run, explore %USERPROFILE%