I'm making a script to open .sh files with bash.exe and wsl.exe. the keys I'm editing are [HKEY_CLASSES_ROOT\Applications\wsl.exe] and [HKEY_CLASSES_ROOT\Applications\bash.exe];

I wanted to change the icon the program shows when opened (both in the taskbar and in the top left corner of the application); DefaultIcon only changes the icon of the associated files, while TaskbarGroupIcon doesn't seem to do anything

  • If you run Ubuntu.exe or OpenSUSE.exe, the command prompt window and taskbar show the distro icon. – Biswapriyo Nov 5 '17 at 12:05
  • @Biswa i know, but that was not my intention, my script adds file association (and file drag-over) to .sh scripts, and needs bash.exe and wsl.exe, as they are present for all WSL users – Alex Sim Nov 5 '17 at 12:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.