Change default location for Explorer opened via hotkey
On Windows 7, it works this way:
Open
regedit
, and navigate to:HKEY_CLASSES_ROOT\Folder\shell\opennewwindow
Rename the sub-key
command
tocommand.old
, because we can't use it. (Its default value type isREG_SZ
and we need aREG_EXPAND_SZ
.)Open a Command Prompt window (
cmd
) as Administrator, to create a new key with a default value typeREG_EXPAND_SZ
. (This is not possible viaregedit
.)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"
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%