Page 1 of 1

[Solved] Changed the icon of an IE shortcut

Published: March 2, 2018 - 09:54
by chris60fr
Hello,

I would like to customize the icon of my shortcut with the image icon.png from my package

create_desktop_shortcut(r'Intranet',target=r'C:\Program Files\internet explorer\iexplore.exe',arguments=r'https://intranet/',icon='icon.png')

Re: Changing the icon of an IE shortcut

Published: March 2, 2018 - 11:10
by sfonteneau
The icon argument must be a full path

example:

Code: Select all

create_desktop_shortcut(r'Intranet',target=r'C:\Program Files\internet explorer\iexplore.exe',arguments=r'https://intranet/',icon=r'c:\icon\icon.png')