Page 1 of 2

HTML files opening is not working

Posted: 2020-01-07, 23:06 UTC
by User919
For some reason HTML files do not open from TC. :(

I am not sure what information I should provide regard this. (Video?)

Steps to reproduce:
  1. Double click some .html file.
  2. Hit enter on some .html file.
  3. Right click file \ open with – chose another browser.
TC 9.22a 64 bit (2019-03-29) (Also 32 bit the same.)

Re: HTML files opening is not working

Posted: 2020-01-07, 23:27 UTC
by petermad
Right click file \ open with – chose another browser.
If this doesn't work it must be something in your system - the "Open With" in the right click menu is a Windows function, not TC's.

Can you open html files from Windows Explorer?

Re: HTML files opening is not working

Posted: 2020-01-08, 00:43 UTC
by Usher
2hugobruno
Can you see text content of your files in Lister? You may have gzipped files: https://en.wikipedia.org/wiki/HTTP_compression

Re: HTML files opening is not working

Posted: 2020-01-08, 23:34 UTC
by User919
petermad wrote: 2020-01-07, 23:27 UTC
Right click file \ open with – chose another browser.
If this doesn't work it must be something in your system - the "Open With" in the right click menu is a Windows function, not TC's.

Can you open html files from Windows Explorer?
Yes, of course, I can. Otherwise I would not post the issue. :)

Re: HTML files opening is not working

Posted: 2020-01-08, 23:36 UTC
by User919
Usher wrote: 2020-01-08, 00:43 UTC 2hugobruno
Can you see text content of your files in Lister? You may have gzipped files: https://en.wikipedia.org/wiki/HTTP_compression
These links normally open from Explorer in any case so bug relates to TC.

Re: HTML files opening is not working

Posted: 2020-01-08, 23:56 UTC
by petermad
2hugobruno
1. Has it always been like that for you with TC 9.22a?

2. Maybe you have accidently set an internal association for html files that is invalid. Check "Files" -> "Internal Associations (Total Commander Only)..." to see if you have *.html in the list of associations.

3. Maybe you need to reenable/update the system association for *.html files - what Windows version are you using (how to do it depends on that)?

4. Have you tried starting TC with a clean ini file - run this from TC's command line:

Code: Select all

"%COMMANDER_EXE%" /i="%COMMANDER_INI%\..\clean.ini"
to see if it works then.

Re: HTML files opening is not working

Posted: 2020-01-09, 01:24 UTC
by Usher
hugobruno wrote: 2020-01-08, 23:36 UTC
Usher wrote: 2020-01-08, 00:43 UTC 2hugobruno
Can you see text content of your files in Lister? You may have gzipped files: https://en.wikipedia.org/wiki/HTTP_compression
These links normally open from Explorer in any case so bug relates to TC.
It's not an answer to my question.
And here are more questions: In what browser they are opened that way? IE, Edge, other browser set as default?

Re: HTML files opening is not working

Posted: 2020-01-09, 01:37 UTC
by User919
petermad wrote: 2020-01-08, 23:56 UTC 2hugobruno
1. Has it always been like that …
1. I do not think so.

2. If internal association is set (to otherwise default browser) it works.

3. Why? It works in other places.

4. Clean ini does not help.

Re: HTML files opening is not working

Posted: 2020-01-09, 01:37 UTC
by User919
Usher wrote: 2020-01-09, 01:24 UTC
hugobruno wrote: 2020-01-08, 23:36 UTC
Usher wrote: 2020-01-08, 00:43 UTC 2hugobruno
Can you see text content of your files in Lister? You may have gzipped files: https://en.wikipedia.org/wiki/HTTP_compression
These links normally open from Explorer in any case so bug relates to TC.
It's not an answer to my question.
And here are more questions: In what browser they are opened that way? IE, Edge, other browser set as default?
In all I have.

Re: HTML files opening is not working

Posted: 2020-01-09, 01:54 UTC
by petermad
3. Why? It works in other places.
Because associations can be set in Windows in numerous ways - TC doesn't support all of them.

Re: HTML files opening is not working

Posted: 2020-01-09, 19:30 UTC
by User919
petermad wrote: 2020-01-09, 01:54 UTC
3. Why? It works in other places.
Because associations can be set in Windows in numerous ways - TC doesn't support all of them.
I did using Windows 10 interface but bug persists.

Re: HTML files opening is not working

Posted: 2020-01-10, 00:30 UTC
by petermad
2User919
If you open "Files" -> "Associate With..." while the cursor is on a html file, then what does it show?

Does it work from TC if you change the extension of the file to .htm ?

Suggestions
1. You could try (using the Windows 10 interface) to associate html file to something else - tetst that in TC - and then change it back again.

2. Or you could associate by file type - in Windows Settings - "Default Apps" - click on "Choose default apps by file type" - then scroll down to .html, click and choose your preferred browser.

3. Or you could do it by the right click menu - right click on a html file - choose "Open with" - then click on "Choose another app" - click in the box "Always use this app to open .html files" and the choose your browser.

Re: HTML files opening is not working

Posted: 2020-01-10, 19:34 UTC
by User919
petermad wrote: 2020-01-10, 00:30 UTC If you open "Files" -> "Associate With..." while the cursor is on a html file, then what does it show?
Associate browser run command. For instance Firefox HTML Document ("C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1").
petermad wrote: 2020-01-10, 00:30 UTC Does it work from TC if you change the extension of the file to .htm ?
Yes, it does work.
petermad wrote: 2020-01-10, 00:30 UTC 1. You could try (using the Windows 10 interface) to associate html file to something else - tetst that in TC - and then change it back again.
I did associate Visual Studio 2019 in Windows 10 associate default app by file extension interface. It does not work in TC.
petermad wrote: 2020-01-10, 00:30 UTC 3. Or you could do it by the right click menu - right click on a html file - choose "Open with" - then click on "Choose another app" - click in the box "Always use this app to open .html files" and the choose your browser.
This point is interesting. When opened via "Choose another app" it works no matter if application used is set as default. This dialog is Windows 10 type. I suppose it relates to it.

Re: HTML files opening is not working

Posted: 2020-01-10, 20:25 UTC
by petermad
This point is interesting. When opened via "Choose another app" it works no matter if application used is set as default. This dialog is Windows 10 type. I suppose it relates to it.
Yest but did you: click in the box "Always use this app to open .html files" and the choose your browser. - and can that fix the problem with double clicking file in TC (this another way of changing default association)?

Re: HTML files opening is not working

Posted: 2020-01-10, 21:01 UTC
by User919
petermad wrote: 2020-01-10, 20:25 UTC Yest but did you: click in the box "Always use this app to open .html files" and the choose your browser. - and can that fix the problem with double clicking file in TC (this another way of changing default association)?
No.