Answer the question
In order to leave comments, you need to log in
How to force an icon for a file type?
I'm using this simple reg file
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.html]
@="html_auto_file"
[HKEY_CLASSES_ROOT\.html\ShellNew]
"NullFile"=-
[HKEY_CLASSES_ROOT\.html\ShellNew]
"FileName"="C:\\_ShellNew\\index.html"
[HKEY_CLASSES_ROOT\html_auto_file]
@="HTML"
[HKEY_CLASSES_ROOT\html_auto_file\DefaultIcon]
@="C:\\_ShellNew\\ico\\html.png"
Answer the question
In order to leave comments, you need to log in
The registry has permissions. Go to the branch and prevent everyone from writing to the desired branches
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question