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:

Example of the

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