Answer the question
In order to leave comments, you need to log in
How to create a file extension association?
I have an image (icon.ico), a file (project.pypr) and python 3.4. How to create a file extension association? I need the .pypr file to have a photo... How can I do it?
ps Preferably without third-party libraries.
Answer the question
In order to leave comments, you need to log in
If you need to statically set one common icon for all files with a certain extension, then this is done by creating a key in HKEY_CLASSES_ROOT corresponding to this extension (detailed guide ).
If you need to dynamically show different icons for each individual file (extract from them or load from somewhere outside), then you will have to write an Icon Handler in C / C ++.
How to create a file extension association?You don't need this.
I have an image (icon.ico), a file (project.pypr) and python 3.4. How to create a file extension association?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question