This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I fix a broken association between a "htm" file and it's "files" folder

  • 4 replies
  • 0 have this problem
  • 3 views
  • Last reply by wdunwoody

more options

I recently renamed a number of "htm" files and their associated "_files" folders. I used windows "rename" function, which I now know was wrong. I now know to open the file in Firefox and use the Firefox "Save as" function to rename.

So my improperly renamed htm files no longer associate with their "_files" folders that contain .js, .css and .svg files necessary to open the page. I end up with a blank screen

I've read a number of posts on how to use "save as" to maintain the file and folder association, but I have found nothing on how to "fix" this "after the fact".

Ideas?

Thanks in advance!

I recently renamed a number of "htm" files and their associated "_files" folders. I used windows "rename" function, which I now know was wrong. I now know to open the file in Firefox and use the Firefox "Save as" function to rename. So my improperly renamed htm files no longer associate with their "_files" folders that contain .js, .css and .svg files necessary to open the page. I end up with a blank screen I've read a number of posts on how to use "save as" to maintain the file and folder association, but I have found nothing on how to "fix" this "after the fact". Ideas? Thanks in advance!

All Replies (4)

more options

That is the OS "Connected Files" feature. This modifies the links in the HTML file to point to a "_files" folder with the same name, so to make such a link work you need to rename both the HTML file and its '_files' to their original name. You can search the HTML file for '_files' if you do not remember.

more options

...I renamed both the "htm" file and the "_files" folder to the new name, but opening the renamed htm file does not seem to be picking up the data from the renamed "_files" folder. I made the name change a while ago, and there doesn't seem to be a way to retrieve the "original" file name(s).

more options

The HTML file has links to the original _files folder, so this can only work if you rename both files or at least the _files file to the original name. Otherwise you need to edit the HTML file and possibly files in the _files folder that have absolute references to the _files folder.

more options

Thanks, cor-el! I will look into the "internals" of these files to find the links... The files are transaction histories from my 401(k) plan. The brokerage firm was sold in September 2022, and I can no longer download and history prior to that date. Calling the firm was useless. Think I need to file a complaint with the SEC!! Thanks for your help!