Page 2 of 2

Re: HTML files opening is not working

Posted: 2020-01-11, 09:53 UTC
by DrShark
2User919
Maybe it will help if you'll post content of .reg files related to your Windows association of .html (use spoiler BBCode tag if it's large).
With Regedit, export following keys to .reg files:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.HTM_HTML]

[HKEY_CLASSES_ROOT\.htm]
[HKEY_CLASSES_ROOT\.html]

and also

[HKEY_CLASSES_ROOT\<x>]
where <x> is a value of default (in .reg file shown as @) parameter under [HKEY_CLASSES_ROOT\.htm] and [HKEY_CLASSES_ROOT\.html]

Also some questions:
* do you have same problem with opening the files with .htm as you have with files having .html extension?
* do you have this problem when trying to open such files from 32-bit and 64-bit TC launched as administrator (with elevated rights)?

Re: HTML files opening is not working

Posted: 2020-01-11, 12:02 UTC
by petermad
do you have same problem with opening the files with .htm as you have with files having .html extension?
User919 already answered that:
petermad wrote:
Friday 10-01-2020, 01:30:50
Does it work from TC if you change the extension of the file to .htm ?
Yes, it does work.

Re: HTML files opening is not working

Posted: 2020-01-11, 17:56 UTC
by User919
Keys:
DrShark wrote: 2020-01-11, 09:53 UTC
[HKEY_CLASSES_ROOT\<x>]
where <x> is a value of default (in .reg file shown as @) parameter under [HKEY_CLASSES_ROOT\.htm] and [HKEY_CLASSES_ROOT\.html]
Registry does not contain such.
DrShark wrote: 2020-01-11, 09:53 UTC Also some questions:
* do you have same problem with opening the files with .htm as you have with files having .html extension?
* do you have this problem when trying to open such files from 32-bit and 64-bit TC launched as administrator (with elevated rights)?
  1. No
  2. I run usualy administrator elevated TC. The same applies to 32 bit version.

Re: HTML files opening is not working

Posted: 2020-01-11, 18:33 UTC
by DrShark
User919 wrote: 2020-01-11, 17:56 UTC
DrShark wrote: 2020-01-11, 09:53 UTC[HKEY_CLASSES_ROOT\<x>]
where <x> is a value of default (in .reg file shown as @) parameter under [HKEY_CLASSES_ROOT\.htm] and [HKEY_CLASSES_ROOT\.html]
Registry does not contain such.
Your .reg file for HKCR\.htm from above link actually has it (@="IceDragonHTML, so the requested registry key is [HKEY_CLASSES_ROOT\IceDragonHTML]).

Anyway, now you can try to apply the same default app for .html files by importing following .reg file:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.html]
@="IceDragonHTML"
"Content Type"="text/html"
"PerceivedType"="text"
User919 wrote: 2020-01-11, 17:56 UTC
  1. I run usualy administrator elevated TC. The same applies to 32 bit version.
Well, some apps don't open files if started either with user rights or elevated, so it's worth trying it both ways.

Re: HTML files opening is not working

Posted: 2020-01-11, 22:19 UTC
by petermad

Code: Select all

[HKEY_CLASSES_ROOT\.html]
@=""
No wonder, it dowsn't work when .html isn't associated with anything in the registry!

I just find it peculiar that all the different approaches I gave you to associate .html to a browser hasn't been able to that for you... :?:

Re: HTML files opening is not working

Posted: 2020-01-11, 22:34 UTC
by User919
DrShark wrote: 2020-01-11, 18:33 UTC
Anyway, now you can try to apply the same default app for .html files by importing following .reg file:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.html]
@="IceDragonHTML"
"Content Type"="text/html"
"PerceivedType"="text"
That did the job. I am sorry for misunderstanding about what should be searched under the keys.

Very well 👍 and thank you a lot.