Skip to content

Instantly share code, notes, and snippets.

@JanMalch
Created July 4, 2018 15:26
Show Gist options
  • Save JanMalch/4fc223eab7c797726d75654fd58c9046 to your computer and use it in GitHub Desktop.
Save JanMalch/4fc223eab7c797726d75654fd58c9046 to your computer and use it in GitHub Desktop.
Windows Explorer & regedit - Open folder in a new explorer window

Windows Explorer & regedit - Open folder in a new explorer window

Open regedit.

Context menu for right click on folders in left panel of Windows Explorer or on background of a directory in right panel

  • Navigate to

  • HKEY_CLASSES_ROOT\Directory\Background\shell if you are an administrator

  • HKEY_CURRENT_USER\Software\Classes\directory\Background\shell if you are a normal user

  • Create a new key open_folder

  • Value of (Default) string is the description, for example Open in new window

  • Add Icon string, value is C:\Windows\explorer.exe

  • Add command key. Value of (Default) is explorer.exe /n,.

Context menu for right click on folders in right panel of Windows Explorer

  • Navigate to

  • HKEY_CLASSES_ROOT\Directory\shell if you are an administrator

  • HKEY_CURRENT_USER\Software\Classes\directory\shell if you are a normal user

  • Create a new key open_folder

  • Value of (Default) string is the description, for example Open in new window

  • Add Icon string, value is C:\Windows\explorer.exe

  • Add command key. Value of (Default) is explorer.exe -n,"%v."

Read more

https://stackoverflow.com/a/29769228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment