Reputation: 13
This is a pretty weird problem. Not sure if this question is acceptable.
Every time i open an HTML file by double clicking it or opening it using a browser the browser home page appears not the HTML file. I've tried using different browser but all have the same results. If i try to drag and drop the HTML file in the browser it works. If I also type the file path in the URL it also works. Not sure why directly opening the HTML cause this kind of problem.
Any suggestion is appreciated
Upvotes: 1
Views: 2780
Reputation: 1
same problem on a particular windows 7 system with the 3 browser I installed (Chrome, IE11 FireFox)
Reseting programs default association file with control panel or trying manual "registry tricks" doesn't solve the issue.
Any of the 3 browser still opens on their default start page, ignoring .html file the user double-clicked.
3 "work-arround" I found : 1- open the browser 2- Ctrl+O to open file with a dialog("where on hell did they put the menu bar?)
1- open the browser 2- drag'n drop the html file
1- rigth-click on html file inside explorer 2- "open with" 3- "select an other program" (mandatory step, if you try pre-selected programs, it won't works) 4- select your browser
=> I think the problem resid in the intermediate layer component(s) wired in windows root registry keys that handle html file extensions. I suspect those component(s) to strip the "%1" param of browser launch command line, but I have no time and no will to investigate such a poor Windows issue
Upvotes: 0
Reputation: 10179
Try restoring your browser settings.
Here are some links to help you with resetting the settings:
Upvotes: 1