PowerShell Here shell extension

It ain't pretty (you have to 'exit' twice, once for the powershell and once for cmd, and it would be nice to set the window title) but it works and it'll do for now.

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\PSHere]
@="PowerShell Here..."

[HKEY_CLASSES_ROOT\Directory\shell\PSHere\command]
@="cmd.exe /k \"powershell.exe -NoExit -Command Set-Location %L\""

Comments

Popular Posts