The icon is wrong on HTM and HTML files. It shows a textfile icon. FiletypesMan doesn't work; at least not here. It gives me a choice of
icons for the .exe, I click on the one I want, no change.
Ed Cryer wrote:
The icon is wrong on HTM and HTML files. It shows a textfile icon.
FiletypesMan doesn't work; at least not here. It gives me a choice of
icons for the .exe, I click on the one I want, no change.
Try clearing icon cache?
<https://www.thewindowsclub.com/rebuild-icon-clear-thumbnail-cache-windows-10>
Andy Burns wrote:
Try clearing icon cache?
Already done that. No noticeable difference.
Ed Cryer wrote:
Andy Burns wrote:
Try clearing icon cache?
Already done that. No noticeable difference.
When you double-click to open a .html file, does it use firefox or notepad?
Try right-click a html file, open with, choose another app, select
firefox, then click always ...
The icon is wrong on HTM and HTML files. It shows a textfile icon. FiletypesMan doesn't work; at least not here. It gives me a choice of icons for the .exe, I click on the one I want, no change.
I also notice that Nirsoft's IconExplorer is no longer available.
Help please.
Ed
Andy Burns wrote:
Ed Cryer wrote:
Andy Burns wrote:
Try clearing icon cache?
Already done that. No noticeable difference.
When you double-click to open a .html file, does it use firefox or
notepad?
Try right-click a html file, open with, choose another app, select
firefox, then click always ...
It opens with FF.
I choose an HTML file, open with Edge and the icon changes to the Edge
icon. Then I open with Firefox, and it changes back to the text icon.
All other icons look pristine.
I chose an icon from Shell32.DLL and changed FF to that; no change
occurred.
This is something to do solely with Firefox; and it's as if Windows has
one fixed icon for FF, the text icon.
Ed
On 9/18/2023 5:05 AM, Ed Cryer wrote:
The icon is wrong on HTM and HTML files. It shows a textfile icon.
FiletypesMan doesn't work; at least not here. It gives me a choice of icons for the .exe, I click on the one I want, no change.
I also notice that Nirsoft's IconExplorer is no longer available.
Help please.
Ed
On Firefox, helper.exe was the program that had multiple functions.
Some of the functions involved file types and so on.
https://firefox-source-docs.mozilla.org/browser/installer/windows/installer/Helper.html
Windows 10 did away with some of the levers it uses. That's why
I selected the Windows interface for this, and compared to the
program icon, to see if everything has an icon or not.
[Picture]
https://i.postimg.cc/K8D6vD7W/default-app.gif
It's possible FileTypesMan is attempting to access a registry
entry that no longer exists. Oh, the framework for it exists,
but the Icon entry is removed. which likely means, even if FileTypesMan
were to add that Icon entry, it would be ignored.
There are multiple references to the icon.
If yours looks like mine in the picture, it might still be
some issue with the iconcache, but hard to say what the issue
would be.
If your machine did Windows Update Patch Tuesday recently, make sure
it's been "rebooted enough times". One thing I had happen a
couple days ago, is the machine did a restart on its own, and
as far as I know, there was no reason for it to be restarting.
That's usually a sign it has not "digested its meal" :-)
It's like a cow, with four stomachs.
Paul
On 18/09/2023 10:05, Ed Cryer wrote:
The icon is wrong on HTM and HTML files. It shows a textfile icon.
FiletypesMan doesn't work; at least not here. It gives me a choice of
icons for the .exe, I click on the one I want, no change.
The simplest way to change icons is to Right-Click on the file (in
your case html file) and then choose "Properties". Then click on the
Change button as shown in this picture:
[ img ] <https://i.imgur.com/0PIXCnU.png>
You need to start thinking outside the box and use common sense (even
if it might not be common with everybody).
Good luck and happy computing.
Arrest
Dictator Putin
We Stand
With Ukraine
Stop Putin
Ukraine Under Attack
--
https://www.temu.com/us
https://www.ibuypower.com/
https://www.rshtech.com/
https://odysee.com/
https://b4ukraine.org/
https://www.eff.org/
The icon is wrong on HTM and HTML files. It shows a textfile icon. FiletypesMan doesn't work; at least not here. It gives me a choice ofNot sure if this helps.
icons for the .exe, I click on the one I want, no change.
I also notice that Nirsoft's IconExplorer is no longer available.
Help please.
Ed
Hey GG, this is too simple. Have you tested it or are you trolling
again. Are you aware that you are banned on other servers? E-S doesn't
carry any of your posts.
Ed Cryer wrote:
The icon is wrong on HTM and HTML files. It shows a textfile icon.Not sure if this helps.
FiletypesMan doesn't work; at least not here. It gives me a choice of
icons for the .exe, I click on the one I want, no change.
I also notice that Nirsoft's IconExplorer is no longer available.
Help please.
Ed
If I use FF to save a web page(same page, both options-web page only htm
or web page complete htm/html) the saved file aligns with my current default(Edge, Edge icon) for htm and html file types.
If right click the htm or html file and select Open With, then select
choose another app, select FF and 'Always use this app' the icon
permanently changes to using the FF icon. It remains the same until I
repeat the process, choosing Edge and always use this app(or even Chrome
and always use)then reverting to the 'Always used' app icon.
I suppose the traditional method of re-install might work.
You could export Bookmarks, save all Add-on data as explained here; https://support.mozilla.org/en-US/questions/1075976
uninstall, download and install.
The current MSEdge is based on Chromium. Chromium is open source (FOSS)
and is the "Google-Free" version. The Google advertising additions,
whatever they are this week, are closed source. Google is NOT going
to give Microsoft source for the advertising additions. Notice as well
in this table, that Microsoft changes are NOT on top of Google changes.
In the FOSS world, these are "forks". Anyone can fork Chromium ("Brave browser").
Chromium + Google_Closed_Source = "Chrome" (Google released)
Chromium + Microsoft_Closed_Source = "MSEdge" (Microsoft released)
Chromium = Chromium <=== this version is un-bodged
( if you can find it!!! )
"Ed Cryer" <ed@somewhere.in.the.uk> wrote
| The icon is wrong on HTM and HTML files. It shows a textfile icon.
| FiletypesMan doesn't work; at least not here. It gives me a choice of
| icons for the .exe, I click on the one I want, no change.
| I also notice that Nirsoft's IconExplorer is no longer available.
|
First, stop using Edge. This sounds like a return to
the sleazy days when updating IE would break Netscape
and installing Netscape would break IE. MS and other
companies change file defaults they have no business
changing. Why would you use Edge, anyway? It' MS's
commercial crap and may even still have Google
connections.
Go to the Registry HKCR, find HKCR\.html The default
value will be something like "htmlfile". Whatever it is,
find that. ex.: HKCR\htmlfile
Under that key is HKCR\htmlfile\shell
Under that will be \open\command, which specifies
the default program, and DefaultIcon, which specifies
the path and number of the icon. If you use a single-image
.ico file then you put [path]\firefox1.ico,0
Or it might be like C:\Program Files\Mozilla Firefox\Firefox.exe,3
Same with shell.dll. Count in to the 0-based offset of the
icons that the browser window shows you. Or extract the
icon you want and put it somewhere safe for use.
Sometimes programs will mess it up by changing the default
file type. For example, if MS set the default value of HCKR\.html
to "EdgeFile" then HKCR\htmlfile will have no effect. Then your
choice is to either edit HKCR\EdgeFile or change it back to
whatever it should be. (I don't set Firefox as default, so I don't
know offhand what the Firefox "class name" is for an HTML file.
It might be htmlfile. It might be Firefox.html. It might be
HTMLMozfile. There's no telling.)
This may sound complicated, but it's very simple once you
get the gist of it. Windows just goes and looks up the extension
in the format .xyz. The default value there gives the "class"
name. A class just means a defined set of data. It's an
arbitrary moniker. When you look up HKCR\[classname], all
info defining that file type is there. So you can change the info
or you can change the default class name to point to a different
set of data keys.
(HKCR, after all, stands for "Handle to the Key containing root
classes".
Paul wrote:
The current MSEdge is based on Chromium. Chromium is open source (FOSS)
and is the "Google-Free" version. The Google advertising additions,
whatever they are this week, are closed source. Google is NOT going
to give Microsoft source for the advertising additions. Notice as well
in this table, that Microsoft changes are NOT on top of Google changes.
In the FOSS world, these are "forks". Anyone can fork Chromium ("Brave browser").
   Chromium + Google_Closed_Source    = "Chrome" (Google released) >>    Chromium + Microsoft_Closed_Source = "MSEdge" (Microsoft released) >>    Chromium                           = Chromium  <=== this version is un-bodged
                                                          ( if you can find it!!! )
Or there's SRware Iron, I don't know whether it adds its own closed sources, or is essentially pure Chromium?
<https://www.srware.net/iron#whyiron>
"Ed Cryer" <ed@somewhere.in.the.uk> wrote
| The icon is wrong on HTM and HTML files. It shows a textfile icon.
| FiletypesMan doesn't work; at least not here. It gives me a choice of
| icons for the .exe, I click on the one I want, no change.
| I also notice that Nirsoft's IconExplorer is no longer available.
|
First, stop using Edge. This sounds like a return to
the sleazy days when updating IE would break Netscape
and installing Netscape would break IE. MS and other
companies change file defaults they have no business
changing. Why would you use Edge, anyway? It' MS's
commercial crap and may even still have Google
connections.
Go to the Registry HKCR, find HKCR\.html The default
value will be something like "htmlfile". Whatever it is,
find that. ex.: HKCR\htmlfile
Under that key is HKCR\htmlfile\shell
Under that will be \open\command, which specifies
the default program, and DefaultIcon, which specifies
the path and number of the icon. If you use a single-image
.ico file then you put [path]\firefox1.ico,0
Or it might be like C:\Program Files\Mozilla Firefox\Firefox.exe,3
Same with shell.dll. Count in to the 0-based offset of the
icons that the browser window shows you. Or extract the
icon you want and put it somewhere safe for use.
Sometimes programs will mess it up by changing the default
file type. For example, if MS set the default value of HCKR\.html
to "EdgeFile" then HKCR\htmlfile will have no effect. Then your
choice is to either edit HKCR\EdgeFile or change it back to
whatever it should be. (I don't set Firefox as default, so I don't
know offhand what the Firefox "class name" is for an HTML file.
It might be htmlfile. It might be Firefox.html. It might be
HTMLMozfile. There's no telling.)
This may sound complicated, but it's very simple once you
get the gist of it. Windows just goes and looks up the extension
in the format .xyz. The default value there gives the "class"
name. A class just means a defined set of data. It's an
arbitrary moniker. When you look up HKCR\[classname], all
info defining that file type is there. So you can change the info
or you can change the default class name to point to a different
set of data keys.
(HKCR, after all, stands for "Handle to the Key containing root
classes".
Ed Cryer wrote:
Newyana2 wrote:
"Ed Cryer" <ed@somewhere.in.the.uk> wrote
| The icon is wrong on HTM and HTML files. It shows a textfile icon.
| FiletypesMan doesn't work; at least not here. It gives me a choice of
| icons for the .exe, I click on the one I want, no change.
| I also notice that Nirsoft's IconExplorer is no longer available.
|
  First, stop using Edge. This sounds like a return to
the sleazy days when updating IE would break Netscape
and installing Netscape would break IE. MS and other
companies change file defaults they have no business
changing. Why would you use Edge, anyway? It' MS's
commercial crap and may even still have Google
connections.
  Go to the Registry HKCR, find HKCR\.html The default
value will be something like "htmlfile". Whatever it is,
find that. ex.: HKCR\htmlfile
   Under that key is HKCR\htmlfile\shell
  Under that will be \open\command, which specifies
the default program, and DefaultIcon, which specifies
the path and number of the icon. If you use a single-image
.ico file then you put [path]\firefox1.ico,0
  Or it might be like C:\Program Files\Mozilla Firefox\Firefox.exe,3
  Same with shell.dll. Count in to the 0-based offset of the
icons that the browser window shows you. Or extract the
icon you want and put it somewhere safe for use.
  Sometimes programs will mess it up by changing the default
file type. For example, if MS set the default value of HCKR\.html
to "EdgeFile" then HKCR\htmlfile will have no effect. Then your
choice is to either edit HKCR\EdgeFile or change it back to
whatever it should be. (I don't set Firefox as default, so I don't
know offhand what the Firefox "class name" is for an HTML file.
It might be htmlfile. It might be Firefox.html. It might be
HTMLMozfile. There's no telling.)
 This may sound complicated, but it's very simple once you
get the gist of it. Windows just goes and looks up the extension
in the format .xyz. The default value there gives the "class"
name. A class just means a defined set of data. It's an
arbitrary moniker. When you look up HKCR\[classname], all
info defining that file type is there. So you can change the info
or you can change the default class name to point to a different
set of data keys.
(HKCR, after all, stands for "Handle to the Key containing root
classes".
Good Lord! Under that registry entry I have "C:\Program Files\Internet Explorer\IEXPLORER.EXE" %1
What do I do now?
BTW, how the hell do you clear Win10 of Edge without crippling your system? MS have super-glued it in.
Ed
When I go into that IE folder and click on iexplore.exe, it loads and presents me with a screen to install Edge.
MS Edge is stalking me; me and lots of others. MS Edge is like Count Dracula transported from Transylvania into London.
It rises from its coffin like Bella Lugosi at midnight, wanders the corridors in search of blood and fair maidens with
nubile breasts, and has somehow managed to survive in daylight.
I'm gonna call in an exorcist. Maybe the Vatican still has an official one. In Nomine Patris et aliorum numinum te
anathematizo. And whoosh! A flash of dazzling light, a blazing cross descends, and beautiful soulful music plays all
around.
And I look in my PC, and all is good.
Ed  (;-
Ed Cryer wrote:
Newyana2 wrote:
"Ed Cryer" <ed@somewhere.in.the.uk> wrote
| The icon is wrong on HTM and HTML files. It shows a textfile icon.
| FiletypesMan doesn't work; at least not here. It gives me a choice of
| icons for the .exe, I click on the one I want, no change.
| I also notice that Nirsoft's IconExplorer is no longer available.
|
  First, stop using Edge. This sounds like a return to
the sleazy days when updating IE would break Netscape
and installing Netscape would break IE. MS and other
companies change file defaults they have no business
changing. Why would you use Edge, anyway? It' MS's
commercial crap and may even still have Google
connections.
  Go to the Registry HKCR, find HKCR\.html The default
value will be something like "htmlfile". Whatever it is,
find that. ex.: HKCR\htmlfile
   Under that key is HKCR\htmlfile\shell
  Under that will be \open\command, which specifies
the default program, and DefaultIcon, which specifies
the path and number of the icon. If you use a single-image
.ico file then you put [path]\firefox1.ico,0
  Or it might be like C:\Program Files\Mozilla Firefox\Firefox.exe,3
  Same with shell.dll. Count in to the 0-based offset of the
icons that the browser window shows you. Or extract the
icon you want and put it somewhere safe for use.
  Sometimes programs will mess it up by changing the default
file type. For example, if MS set the default value of HCKR\.html
to "EdgeFile" then HKCR\htmlfile will have no effect. Then your
choice is to either edit HKCR\EdgeFile or change it back to
whatever it should be. (I don't set Firefox as default, so I don't
know offhand what the Firefox "class name" is for an HTML file.
It might be htmlfile. It might be Firefox.html. It might be
HTMLMozfile. There's no telling.)
 This may sound complicated, but it's very simple once you
get the gist of it. Windows just goes and looks up the extension
in the format .xyz. The default value there gives the "class"
name. A class just means a defined set of data. It's an
arbitrary moniker. When you look up HKCR\[classname], all
info defining that file type is there. So you can change the info
or you can change the default class name to point to a different
set of data keys.
(HKCR, after all, stands for "Handle to the Key containing root
classes".
Good Lord! Under that registry entry I have "C:\Program Files\Internet
Explorer\IEXPLORER.EXE" %1
What do I do now?
BTW, how the hell do you clear Win10 of Edge without crippling your
system? MS have super-glued it in.
Ed
When I go into that IE folder and click on iexplore.exe, it loads and presents me with a screen to install Edge.
MS Edge is stalking me; me and lots of others. MS Edge is like Count
Dracula transported from Transylvania into London. It rises from its
coffin like Bella Lugosi at midnight, wanders the corridors in search of blood and fair maidens with nubile breasts, and has somehow managed to survive in daylight.
I'm gonna call in an exorcist. Maybe the Vatican still has an official
one. In Nomine Patris et aliorum numinum te anathematizo. And whoosh! A
flash of dazzling light, a blazing cross descends, and beautiful soulful music plays all around.
And I look in my PC, and all is good.
Ed  (;-
"Ed Cryer" <ed@somewhere.in.the.uk> wrote
| Good Lord! Under that registry entry I have "C:\Program Files\Internet
| Explorer\IEXPLORER.EXE" %1
|
Under what entry? HKCR\htmlfile\shell\open\command?
| What do I do now?
|
Just point it to Firefox. On my system the FF classname
is FirefoxHTML. So if you set the default values of HTML
extensions (htm, html, etc) to FirefoxHTML, the rest should
take care of itself.
| BTW, how the hell do you clear Win10 of Edge without crippling your
| system? MS have super-glued it in.
|
I haven't even seen Edge. I now have Win10 and 11. I
run Firefox and Waterfox. I haven't seen any attempt of
Edge to load or hassle me. Though I also disabled various
Edge-related crap, in both services and autoruns if I
remember correctly. Maybe it runs in the background if
you don't do that.
Newyana2 wrote:
"Ed Cryer" <ed@somewhere.in.the.uk> wrote
| Good Lord! Under that registry entry I have "C:\Program Files\Internet
| Explorer\IEXPLORER.EXE" %1
|
  Under what entry? HKCR\htmlfile\shell\open\command?
| What do I do now?
|
  Just point it to Firefox. On my system the FF classname
is FirefoxHTML. So if you set the default values of HTML
extensions (htm, html, etc) to FirefoxHTML, the rest should
take care of itself.
| BTW, how the hell do you clear Win10 of Edge without crippling your
| system? MS have super-glued it in.
|
   I haven't even seen Edge. I now have Win10 and 11. I
run Firefox and Waterfox. I haven't seen any attempt of
Edge to load or hassle me. Though I also disabled various
Edge-related crap, in both services and autoruns if I
remember correctly. Maybe it runs in the background if
you don't do that.
I tried without success.
HKEY_CLASSES_ROOT\htmlfile\shell\open\command.
First I changed it to ""C:\Program Files\Mozilla Firefox\firefox.exe" %1
Then I tried without the %1.
I suspect I may have misunderstood your instructions.
How does FirefoxHTML come into the mix? Is that another change to make?
Ed
I haven't even seen Edge. I now have Win10 and 11. I
run Firefox and Waterfox. I haven't seen any attempt of
Edge to load or hassle me. Though I also disabled various
Edge-related crap, in both services and autoruns if I
remember correctly. Maybe it runs in the background if
you don't do that.
"Ed Cryer" <ed@somewhere.in.the.uk> wrote
| I tried without success.
| HKEY_CLASSES_ROOT\htmlfile\shell\open\command.
| First I changed it to ""C:\Program Files\Mozilla Firefox\firefox.exe" %1
| Then I tried without the %1.
|
Mine has this under FirefoxHTML:
"C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1"
The two parameters are irregular. I expect it would also work
with
"C:\Program Files\Mozilla Firefox\firefox.exe" "%1"
You need to understand the structure of the file type
system. Windows looks up HKCR\.html. The default value
there is the name of the next key. If it's not "htmlfile"
then your changes won't matter. In most cases you
don't need to mess with shell\open\command. You can
just change the default value of the extension key.
I have a FirefoxHTML key, so I could make it open with
Firefox by changing HKCR\.html default value by FirefoxHTML.
That key is in my Registry even though I've never had
FF as my default browser.
It's the same for any file. For example, for JPG I have
HKCR\.jpg with a default value of "IrfanView.jpg". When
I then look up HKCR\IrfanView.jpg I find
HKCR\IrfanView.jpg\shell\open\command with a default
value of:
"C:\Program Files\IrfanView\i_view32.exe" "%1"
I also find HKCR\IrfanView.jpg\DefaultIcon with a default
value of:
C:\Program Files\IrfanView\i_view32.exe,4
If I were to change that to C:\Windows\Notepad.exe,0
then all my JPG files would look like a Notepad icon.
Though such changes sometimes don't show up right
off without a refresh of Explorer's cache.
If I were to change the command key default value to the
Notepad path then Notepad would try to open JPGs. Similarly,
if I were to change the default value under HKCR\.jpg to
"txtfile" then Windows would use the info under HKCR\txtfile
to send all JPGs to Notepad and give them all a Notepad icon.
So....
HKCR\.xyz default value: AcmeXYZFile
HKCR\AcmeXYZFile\shell\open\command
default value: [path of program to open .xyz files.]
So far, so good... Then Microsoft does an update and changes
it to HKCR\.xyz default value: MSxyz
Now the HKCR\MSxyz subkeys will decide what the
default program and icon are. So it's a double step.
Find the "class name" under the extension key (.xyz).
Then look up HKCR\[class name] or change the class
name to make it point to something else.
They could have just put it all under HKCR\.xyz but
this allows the data to be separate from the pointer.
The first key just tells you where to look. So in many
cases you only have to change that.
Imagine that you're
lending some cheese to a friend and you tell them to
check your kitchen table. You have a fridge in the kitchen,
cellar and garage. The cheese they want is in the garage.
So you just leave a note that says "garage fridge". With
that info they can find the cheese, no matter where
you've stored it. If it turns out the cheese is in the cellar
fridge, you don't have to move it. You just change the note
to say "cellar fridge". That's what the HKCR\.*** keys do.
You failed to check the note on the kitchen table. So now
you're rummaging around in the kitchen fridge, cursing your
friend. :)
A major breakthrough.
I looked into Default apps, and noticed there were two entries for
Firefox. So I switched to the other one and lo! the orange fox twisted
around the globe icon has appeared on all HTM/L files.
Success. But how come?
Both Firefoxes are 64-bit.
Ed Cryer wrote:
A major breakthrough.
I looked into Default apps, and noticed there were two entries for
Firefox. So I switched to the other one and lo! the orange fox twisted
around the globe icon has appeared on all HTM/L files.
Success. But how come?
Both Firefoxes are 64-bit.
I also have two Firefoxes shown under Apps > Default Apps
both are orange and swirly
I only have one Mozilla Firefox showing under Apps > Installed Apps
However within File explorer, all .htm[l] files are shown with an
annoying black background to the icon.
The icon is wrong on HTM and HTML files. It shows a textfile icon. FiletypesMan doesn't work; at least not here. It gives me a choice of
icons for the .exe, I click on the one I want, no change.
I also notice that Nirsoft's IconExplorer is no longer available.
Andy Burns wrote:...
Ed Cryer wrote:
A major breakthrough.
I looked into Default apps, and noticed there were two entries for Firefox. So I switched to the other one and lo! the orange fox twisted around the globe icon has appeared on all HTM/L files.
Success. But how come?
BTW, I'm seriously thinking of leaving FF. Maybe I'll go to Edge, just for some peace of mind.
Ed
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:51:15 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,335,886 |