Quote
Zephyr
Whenever I click on htm and html files in Explorer after having associated these file types with K-Meleon it opens with the message:
Invalid Address
The URL is not valid and cannot be loaded.
The provided address is not in a recognized format. Please check the location bar for mistakes and try again.
I have made K-Meleon the default browser in the K-Meleon preferences and also in the Windows Set Program Access and Defaults. I have monitored the registry changes that occur after these actions and they are as follows:
HCKU\SoftwareMicrosoft\Windows\CurrentVersion\Explorer\FileExts\.htm\UserChoice Value=K-MeleonHTML
HCKU\SoftwareMicrosoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice Value=K-MeleonHTML
HKLM\SOFTWARE\Classes\K-MeleonHTML\shell\open\command Value="Drogram Files\K-Meleon\kmeleon.exe""%1"
HKLM\SOFTWARE\Classes\K-MeleonURL\shell\open\command Value="Drogram Files\K-Meleon\kmeleon.exe""%1"
HKLM\SOFTWARE\Classes\ftp\shell\open\command Value="Drogram Files\K-Meleon\kmeleon.exe""%1"
HKLN\SOFTWARE\Classes\ftp\shell\open\command Value="Drogram Files\K-Meleon\kmeleon.exe""%1"
HKLM\SOFTWARE\Classes\HTTP\shell\open\command Value="Drogram Files\K-Meleon\kmeleon.exe""%1"
HKLM\SOFTWARE\Classes\htttps\shell\open\command Value="Drogram Files\K-Meleon\kmeleon.exe""%1"
Quote
siria
And D:\ ?
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.htm] @="K-MeleonHTML" "Content Type"="text/html" "PerceivedType"="text" [HKEY_CLASSES_ROOT\.htm\OpenWithList] [HKEY_CLASSES_ROOT\.htm\OpenWithList\notepad.exe] @="" [HKEY_CLASSES_ROOT\.htm\OpenWithProgIDs] "K-Meleon.HTML"=hex(0): "htmlfile"=""
Quote
foliator
I noticed some slight errors in those values; there should be a space between the closing quote of the command and opening quote of the parameter, as follows:
"Drogram Files\K-Meleon\kmeleon.exe" "%1"
At least, that's what you should get when you set K-Meleon as the default browser through KM's preferences dialog (F2). I don't know why those spaces are missing, but maybe that's why K-Meleon doesn't recognize the URLs.
Hope that helps!
Quote
foliator
@Zephyr: Did you set K-Meleon as the default browser through the preferences dialog, or did you create those registry keys manually?
Quote
foliator
Instead of using "Open with", I've added an "Edit" command for HTML files in the Windows Explorer context menu:
HKEY_CLASSES_ROOT/K-MeleonHTML/shell/edit/command/Default
C:\Users\Gerry\Documents\Apps\AkelPad\AkelPad.exe "%1"
HKEY_CLASSES_ROOT/K-MeleonHTML/shell/edit/command/backup
C:\\Windows\System32\Notepad.exe "%1"
As you can see, I'm using my favorite text editor as an alternative to Notepad, which I've kept in the registry key as a backup.
I've done this for years now for each browser I've set as the default.