WhenProgramTo create a new file format, you need to display the desired icon when the file list is displayed, double-click the file and you will use the specified program to open it with the specified command-just like word or Excel.
This situation is implemented through the registry settings. Currently, I have not yet understood how to open a specified program. First, I would like to modify the icon. The following is only a description of the location to be modified. It can be programmed in different languages.
1. Add an extension item starting with "." To the hkey_classes_root branch, such as ". tzr". Set a value item: Default Value, REG_SZ, tzr_file.
2. Add a "tzr_file" item to the hkey_classes_root branch and add the new subitem "defaulticon". Set: Default Value: REG_SZ, "C: \ Program Files \ tzrprogram \ tzr. ICO"
Yes, that's easy!