winlator icon indicating copy to clipboard operation
winlator copied to clipboard

shortcut icons

Open Crazy4Rabbit opened this issue 3 weeks ago • 1 comments

Have you considered adding an option to change the shortcut icons?.

Image

The question is just out of curiosity.

Crazy4Rabbit avatar Nov 28 '25 11:11 Crazy4Rabbit

Hello, an option to change the shortcut images would be nice, thanks for the suggestion.

brunodev85 avatar Nov 29 '25 16:11 brunodev85

Hey! I found a way to change icons for .bat files though it's not very easy ... You have to create a .bat file with this code:

Set oShellLink = WshShell.CreateShortcut("F:\path-to-your-shortcut.lnk")
oShellLink.TargetPath = F:\path-to-the-file-you're-changing-the-icon-of (.exe or .bat in my case)
oShellLink.IconLocation = (Not needed since I cannot get this command to work properly)
oShellLink.Save

Then get the code from the .desktop file from a standard shortcut For example: "Icon=8F15_CHIPS.0" (Without the quotes) and paste it into the .bat shortcut that also has the .desktop extension.

After all that go into winlator and run the .bat file to edit the .lnk file you have and then finally copy both the .lnk file and the edited .desktop file that should have the icon=goobly-glop information into the desktop folder.

Last of all exit out of winlator and go to shortcuts and then hit the three dots of the recently made shortcut and then hit settings then close out of settings and run the shortcut and then exit out of the running shortcut and the icon should have changed by then!!!

Image

Gricecal avatar Dec 02 '25 07:12 Gricecal