Adding Bash on Ubuntu on Windows 10 to Explorer Context Menu (Issues)

You can find a step-by-step tutorial how to do this on this page: http://winaero.com/blog/add-bash-to-the-folder-context-menu-in-windows-10/

Additionally they offer ready-to-use registry files. I tested the registry files and they work on my Win10 x64 system.


An easy fix to this is to run through cmd. This command sets the current working directory to the selected folder and then launches bash.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Bash]
@="Bash Here"

[HKEY_CLASSES_ROOT\Directory\shell\Bash\command]
@="C:\\Windows\\System32\\cmd.exe /k cd %1 && C:\\windows\\system32\\bash.exe"

Tested and working, just save the above code into a text file and rename the extension to .reg

If you want to exit after instead of dropping back into CMD just type && exit at the end of the command