1

On Windows 11, I have added a custom context menu item for .stl files by adding a new key in Computer\HKEY_CLASSES_ROOT\SystemFileAssociations\.stl in the registry that links to the .exe I want to use: "C:\Program Files\OrcaSlicer\orca-slicer.exe" "%1".

The command itself works fine, but I would like to add the icon of the program in the context menu. However, this does not seem to work. Multiple guide I found online say that you should add a 'Icon' String with a link to the icon, but this never works. I have tried linking to the .exe of the program itself, I have tried extracting the .ico files and linking to the 32x32 and 256x256 .ico files, I have tried linking to an .ico on a different drive, nothing works.

Icon    REG_SZ    "C:\Program Files\OrcaSlicer\orca-slicer.exe"

What could I be doing wrong?

2

1 Answer 1

0

I encountered this today and found that removing the quotes around the path to the icon fixed it.

"C:\Program Files\OrcaSlicer\orca-slicer.exe" should be C:\Program Files\OrcaSlicer\orca-slicer.exe

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .