- Download the application: https://github.com/Genbox/CygwinContextMenu/raw/master/Compiled/CygwinContextMenu.exe
- Open it.
- The context menu is now registered.
- Hold shift and right click in a folder and choose 'Open Cygwin window here'
- Compile the project by pressing CTRL + F5 in Visual Studio.
- Doubleclick the 'CygwinContextMenu.exe' in the build folder
- The context menu is now registered.
- Hold shift and right click in a folder and choose 'Open Cygwin window here'
- Open the CygwinContextMenu.exe application again to unregister it.
- Once registered, you no longer need to keep CygwinContextMenu.exe around.
Cygwin manual tells us we can use the 'chere' application to register the a context menu in explorer. See http://code.google.com/p/mintty/wiki/Tips#Starting_mintty_from_a_batch_file
The changes between using 'chere' and this application are very subtle:
- It only works inside folders, and not on folders. This reduces clutter in the menu.
- It uses shift right click, just like the normal 'Open command window here'
- It is named 'Open Cygwin window here' instead of 'Open bash shell'