Add Bash to the Right-Click Menu for Folders in Windows 10

So you installed Bash in Windows 10 (Anniversary Update v1607) and wondering how to add it to the right-click menu for folders, like the built-in “Open Command window here” option? Here is a registry edit to add “Bash here” to the context menu for folders and desktop.

Download and run the enclosed REG file bash_here.reg.

You’ll now see “Bash here” when you right-click on the Desktop, folder or an empty area in a folder (directory background). Selecting “Bash here” would start Bash in the current directory from where the command was launched.

add bash right-click menu

add bash right-click menu

add bash right-click menu

Contents of the REG File

Windows Registry Editor Version 5.00

@="Bash here"


@="Bash here"

@="cmd.exe /c pushd \"%V\" && c:\\windows\\system32\\bash.exe"

Note that the Windows installation drive is set as C:\ in the REG file. If you have installed Windows in a different drive, edit the REG file using Notepad and change accordingly.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded in 2005.

Leave a Comment