Skip to content

Instantly share code, notes, and snippets.

@aherrman
Created January 29, 2010 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aherrman/289858 to your computer and use it in GitHub Desktop.
Save aherrman/289858 to your computer and use it in GitHub Desktop.
Registry file for adding a "powershell here" entry to directory right-click menus
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\powershell]
@="PowerShell Here"
[HKEY_CLASSES_ROOT\Directory\shell\powershell\command]
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -NoExit -Command Set-Location -LiteralPath '%L'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment