Open bash here (Windows Explorer)
It’s often handy to use Windows Explorer to find a directory, but then launch a shell to do real work. Here’s a script to add an “Open Cygwin Bash here” menu item to Explorer. This feature works when right-clicking on directory links, background, and drives, for dos cmd, cygwin bash, and powershell:

Download the following file (open_shell_here.reg). Open it with Notepad. Modify the paths such as “d:\\cygwin\\bin\\bash.exe” and “C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe”. When the paths and command strings are as you like, save and exit. Run it with ‘Registry Editor’.
Verified on Windows 7 only. Thanks to André Burgaud and Joel Spadin
Comments
Hey mate, thanks for sharing but this page is hard to read in Netscape it is is overlapping.
Hi,
Thanks for the sharing. Here is a modified version to start “console” http://sourceforge.net/projects/console/ and “bash” http://win-bash.sourceforge.net/. You need to create a new tab definition in “Console” with bash as shell and then modify the registry file accordingly.
———————-
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\consolebash]
@=”Open Console2 Bash Here”
[HKEY_CLASSES_ROOT\Directory\shell\consolebash\command]
@=”c:\\tools\\console2\\console.exe -t bash -d \”%L\” -r \”-c \\\”export PS1=’\\w\\$ ‘; bash\\\”\”"
[HKEY_CLASSES_ROOT\Directory\Background\shell\consolebash]
@=”Open Console2 Bash Here”
[HKEY_CLASSES_ROOT\Directory\Background\shell\consolebash\command]
@=”c:\\tools\\console2\\console.exe -t bash -d \”%L\” -r \”-c \\\”export PS1=’\\w\\$ ‘; bash\\\”\”"
[HKEY_CLASSES_ROOT\Drive\shell\consolebash]
@=”Open Console2 Bash Here”
[HKEY_CLASSES_ROOT\Drive\shell\consolebash\command]
@=”c:\\tools\\console2\\console.exe -t bash -d \”%L\” -r \”-c \\\”export PS1=’\\w\\$ ‘; bash\\\”\”"