Search code examples
delphitilestartmenu

How to assign the icon name shown in pinned start tile menu of Windows 10 with Delphi 10.2


I know the default icon name pinned in start menu is that of exe file. But the pinned icon name of bds.exe which is Rad Studio exe file shows 'RAD Studio 10.2' in start menu.

How can I set the name like the above? I tried to change all names of Version Info but nothing happens.


Solution

  • There are two ways you can pin a program to start menu or start screen (Windows 8 and newer).

    One is by pinning the application executable which results in pinned icon to have the same name as the executable has.

    Another more commonly used approach is by pinning the shortcut to your program's executable instead. By doing this the pinned icon actually has the same name as the shortcut to your executable does.

    Do note that this shortcut does not need to be in start menu but can be anywhere, even in application folder.

    So don't pin the executable but instead the shortcut to it. And as you know shortcut gives you the ability to chose whatever name you desire, regardless of the executable name.

    EDIT:

    After looking at this some more I found another information about the location of shortcuts to pinned items which might be helpful to you

    https://superuser.com/questions/171096/where-is-the-list-of-pinned-start-menu-and-taskbar-items-stored-in-windows-7