I learned how to add an item to the right-click context menu, but I would like to add an icon too. I tested adding a value Icon to the key (imagine that the key is HKCL\lnkfile\shell\MY COMMAND\command, I added the icon value to HKCL\lnkfile\shell\MY COMMAND) but it doesn’t work, I put the path to the icon inside it but it’s 32×32, maybe is that the problem maybe no… do someone know how to add an icon to my menu item?
Thanks for any answer
This might be a long shot, but try creating a String value named “Icon” under the
HKCL\lnkfile\shell\MY COMMANDkey, and then set the value to the path to your icon (e.g.C:\Program Files\Your Program\YourProgram.exe,0), assuming your icons are embedded in whatever application you specified to run in your command.