How does Windows link HTML files to folders?

Viewed 3398

Almost every time you save a web page from a web browser to your local computer a PAGENAME.html (or .htm) file is created and a folder named 'PAGENAME_files' that contains resources specific to that page.

If you copy/move/delete either the folder or the .html file Windows automatically does the same operation the other file as well.

This behaviour also happens if you create a file named 1.html and a folder called 1_files.

How does this link happen? And why does it work only with web files?

4 Answers

If people are stuck and ended up here to find how to unlink, here's an easy trick : on Windows 10, I couldn't find how to unlink a .html file from its associated media folder, so I deleted both of them, and in the bin I restored only the .html file and it was then restored and unlinked from its folder.

It is a good question.

Under Windows 7 I managed to solve forced links by simply renaming the file.

I think it is the easiest way.

Related