Step 2: Open a text file with notepad and then type the following in the file. ico file or else it will not work in drives. There are many sites offering free icons, you can get Icon Archive to download free icons. The icon just shows a blank icon, rather than the proper icon image it used to show. Step 1: First step is to get a suitable icon for your drive. ![]() If there is more than one icon in the file, the path should be followed by a comma, and then the index of the icon. I have created a small file in Notepad and saved it on the desktop. In the Edit File Type window, click the button to the right of the Default Icon text field. HKEY_CLASSES_ROOTĪny file that contains an icon is acceptable, including. Right click extension whose icon you want to change and then select Edit Selected File Type. The MyProgram.1 ProgID subkey is then assigned the custom default icon. myp file name extension is first associated with the MyProgram.1 application. The following example shows a detailed view of the registry entries that are required for an application icon assignment. The file name extension is associated with an application, but the icon assignment is to the file name extension itself so that the associated application does not dictate the default icon. The following example shows a detailed view of the registry entries that are required for a file-type icon assignment. Step 3:Ĭall the SHChangeNotify function to notify the Shell to update its icon cache.
0 Comments
Leave a Reply. |