PowerShell explorer extension

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.

Advertisements

0 Responses to “PowerShell explorer extension”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s





%d bloggers like this: