Open Powershell Window Here

To open a Powershell widow from any folder in Windows Explorer use the registry script below

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'"

Check the installation path in the last line matches your system.

“Let yourself be open and life will be easier. A spoon of salt in a glass of water makes the water undrinkable. A spoon of salt in a lake is almost unnoticed” - Buddha

Related:

Set-Location - Set the current working location.
Powershell Prompt Here - PowerToy from Scott Hanselman
Open Command Window - Various Shell options, André Burgaud



Back to the Top

© Copyright SS64.com 1999-2012
Some rights reserved