Using this extension, you can select “Command Prompt” when right-clicking a folder in the windows explorer. This will open up a PowerShell instance with the current directory set to the folder you clicked, this is quite useful to quickly jump from GUI to shell.
All you have to do is saving this script to myextension.reg and run it on the target machine.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\CommandPrompt]
@=”Command Prompt”
[HKEY_CLASSES_ROOT\Folder\shell\CommandPrompt\command]
@=”\”C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershell.exe\” -NoExit -Command Set-Location -LiteralPath ‘%L’”
Update:
Thx to Jon for providing a better run command.



