Ehryk / ContextMenuTools

This is a collection of helpful context menu items, including "Start PowerShell Here" and "Git Bash Here". What the installers do is add these and other selected options to your Windows right-click menus (tested in XP, Vista, 7 and 8) for ease of accessing command prompts right to the current directory.
http://www.ericmenze.com
Other
28 stars 6 forks source link

Context Menu Tools

These tools add functionality to your context menu. They have easy uninstall entries in the Programs Control Panel option. They have were written for Windows 8 / 7 / Vista, but works in XP as well (you may need to install PowerShell manually). Setup explains the multitude of install options, or you can dive right in with the Default Install or SuperUser Install.

Default Install Sections

Installation

You can use the Setup.hta, Default Install.exe, Superuser Install.exe, but the best way is to open the Default Installs folder, select the best matching option, open that subfolder, right click the .inf in that folder and choose 'Install'.

NOTE: The installs must sometimes be run as Administrator; right click the application and select "Run as Administrator" from the context menu if they menu entries don't appear.

If you have any bugs to report or features to request, please do so either at GitHub (https://github.com/Ehryk/ContextMenuTools) or my email (Ehryk42@gmail.com). I'd be interested in other commands that would be helpful in the context menu.

The Story

After using PowerShell and Git Bash a lot, I found it irritating to start in my home directory each time I opened a new prompt. Microsoft published their Elevation Power Toys, which would launch PowerShell and the command prompt from the context menus of drives and directories, but I found it lacking in a few features. What I wanted most was to right click the backgrounds of directories and drives, Git support, and other nitpicky details. This gave birth to this project.

I used the basic structure of the .INF files to write my own, with custom icons and more features. I alter the Administrator prompts to reflect the elevated commands, customize the PowerShell prompts, set default colors, and most importantly add the ability to right click anywhere in a directory or drive.

Default Install

This should be your initial entry point: Start here. You can then modify the install at anytime by just installing a different one, no need to uninstall. To remove them, you can use the UninstallAll.exe or remove the entry in the Programs section of the Control Panel.

Default Example

Default Installs add the following to the regular Context Menu (right click):

And the following to the Extended Context Menu (shift+right click):

SuperUser Install

Superuser Installs add all of the following options, including the Administrative options, to both the regular Context Menu (right click) and the Extended Context Menu (shift+right click):

SuperUser Example

Command Prompts

Command Prompt Here
Command Prompt Here (Extended)
Command Prompt Here (Administrator)
Command Prompt Here (Administrator) (Extended)

Note: as an added feature, administrative command prompts are opened with red text as a reminder of their additional access level.

Administrator Command Prompt

Keep Command Window Scrollable.reg / KeepCommandWindowScrollable.inf

PowerShell

Start PowerShell Here
Start PowerShell Here (Extended)
Start PowerShell Here (Administrator)
Start PowerShell Here (Administrator) (Extended)
Keep PowerShell Blue.reg / KeepPowerShellBlue.inf

Keep PowerShell Blue

Git Bash

Git Bash Here (x64)
Git Bash Here (x86)

Cygwin

Start Cygwin Here
Start Cygwin Here (Extended)
Start Cygwin Here (Administrator)
Start Cygwin Here (Administrator) (Extended)

Network and Local Drives

Map Network Drive Here
Map Local Drive Here
Map Local Drive Here - Static

Open With...

Always Show Open With