Windows uses by default always the first icon with icon index 0 found in the resources of an executable for the icon in the title bar of the main application window as also for file associations of file types with an executable and for shortcuts of an executable. But there is now the stylish round icon of UE prior v2023.0 additionally inside the UltraEdit and UEStudio executable.
- A user can click therefore with the secondary (usually right) pointing device (mouse) button on the shortcut of UltraEdit or UEStudio in the Windows Start menu,
- click on context menu item Properties,
- click in the Properties window on tab Shortcut on the button Change Icon,
- select instead of the first the third icon and click on button OK,
- click on button OK of the Properties window.
The shortcut is displayed now with the stylish round icon of UltraEdit respectively UEStudio.
The same manual selection of the icon to show can be used for the file types associated with UltraEdit or UEStudio. There can be executed the following command line in a command prompt window to associate the third icon with icon index
2 of UltraEdit or UEStudio executable if a file type like
.nfo is associated with UltraEdit or UEStudio using either the appropriate Windows
Control Panel respectively Windows
Settings feature or the commands as posted by me in
this post.
reg ADD "
HKCU\Software\Classes\
UltraEdit\DefaultIcon" /f /ve /t
REG_EXPAND_SZ /d "\"^%ProgramFiles^%\IDM Computer Solutions\UltraEdit\uedit64.exe\"
,2"
or
reg ADD "
HKCU\Software\Classes\
UltraEdit\DefaultIcon" /f /ve /t
REG_SZ /d "\"%ProgramFiles%\IDM Computer Solutions\UltraEdit\uedit64.exe\"
,2"
Please read first my
post about manual file association before executing the command line as there are lots of variables in this command line which could be different on your computer depending on the existing file association like the registry hive –
HKCU versus
HKLM whereby a modification in
HKLM requires opening the command prompt window as administrator to run successfully the
reg command to change the icon registration – the file type key
UltraEdit and of course the path –
UltraEdit versus
UEStudio or a custom path as chosen or entered during the installation of UE/UES – and the file name of the UltraEdit or UEStudio executable –
uedit64.exe versus
uedit32.exe versus
uestudio.exe.
It is necessary to sign out and sign in again to get the icon registration change applied because of the manual change in registration of the default icon for a file type with the command
reg does not trigger an update of the icon cache of
Windows File Explorer, i.e. what is stored by
Windows File Explorer in the file
%LOCALAPPDATA%\IconCache.db.