Web lists-archives.com

chere: Add cygwin icon to context menu




For anyone using 'chere' interested in having the Cygwin icon in the
context menu, you can use the following commands:

    regtool -w -s set
/HKCU/Software/Classes/Drive/Shell/cygwin64_bash/Icon
'C:\cygwin64\Cygwin-Terminal.ico'
    regtool -w -s set
/HKCU/Software/Classes/Drive/Background/Shell/cygwin64_bash/Icon
'C:\cygwin64\Cygwin-Terminal.ico'
    regtool -w -s set
/HKCU/Software/Classes/Directory/Shell/cygwin64_bash/Icon
'C:\cygwin64\Cygwin-Terminal.ico'
    regtool -w -s set
/HKCU/Software/Classes/Directory/Background/Shell/cygwin64_bash/Icon
'C:\cygwin64\Cygwin-Terminal.ico'


You can remove them with this:

    regtool -w unset /HKCU/Software/Classes/Directory/Shell/cygwin64_bash/Icon
    regtool -w unset
/HKCU/Software/Classes/Directory/Background/Shell/cygwin64_bash/Icon
    regtool -w unset /HKCU/Software/Classes/Drive/Shell/cygwin64_bash/Icon
    regtool -w unset
/HKCU/Software/Classes/Drive/Background/Shell/cygwin64_bash/Icon

This works for me on Windows 10 64-bit, with Cygwin 64-bit.  It would
be nice if this became an option in 'chere' to do this automatically.

~ Brian

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple