Manouchehri / bash-WSL-context-menu

Adds a "Bash" context menu option in Windows Explorer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't Use the Ubuntu Shortcut

paul-soporan opened this issue · comments

Hello and sorry if this is a dumb issue. I just installed the ubuntu shortcut for the context menu, but i can't use it. When i click on it i get the "this file does not have a program associated..." error.
I installed the ubuntu bash from the store.
Please tell me how can i make it work.
image

Does this work for you?

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\WSL]
@="Ubuntu Bash"
"Icon"="C:\\Program Files\\WindowsApps\\CanonicalGroupLimited.UbuntuonWindows_1604.2017.922.0_x64__79rhkp1fndgsc\\images\\icon.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\WSL\command]
@=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,00,\
  45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c,00,6f,\
  00,63,00,61,00,6c,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,\
  74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,41,00,70,00,70,00,73,\
  00,5c,00,75,00,62,00,75,00,6e,00,74,00,75,00,2e,00,65,00,78,00,65,00,20,00,\
  2d,00,63,00,20,00,62,00,61,00,73,00,68,00,00,00

When i make a .reg file, open with notepad++, paste the code, save and execute i get this error:
image

Hi,
I just bumped into the same issue and indeed it got corrected with @pestotoast response. Thank you very much