Skip to content

Instantly share code, notes, and snippets.

@Tiliavir
Created May 10, 2021 06:50
Show Gist options
  • Save Tiliavir/724b1b3d33c8a479c3cae1ce3f8a59a6 to your computer and use it in GitHub Desktop.
Save Tiliavir/724b1b3d33c8a479c3cae1ce3f8a59a6 to your computer and use it in GitHub Desktop.
Adds an "Open PowerShell" entry to the windows explorers context menu - required on pre-Win10
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\psHere]
@="Open PowerShell"
"icon"="C:\\windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\psHere\command]
@="C:\\windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -noexit -command Set-Location '%V'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment