Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Yesterday, when saving a web page for analysis, I noticed a peculiar thing: If I decided to save a "complete web page" (I was Chrome), and then deciding that I want to delete the folder with the related files to just be stuck with the html, the html file was also deleted, even though it was not in the folder; just a mere sibling.

This obviously required some meta data for Windows to do: somehow Windows knew that the folder was linked with the file, and decided to delete the file if the folder was also deleted.

I am not sure what the user story was for implementing such a feature was, since it just seems retarded to me, but how does Windows accomplish this?

share|improve this question

marked as duplicate by afrazier, Karan, Breakthrough, Mokubai, soandos Jun 24 '13 at 0:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I believe it's very simple: if you're trying to delete a folder called {something}_files, Windows Explorer will also check if there's a file called {something}.html around. No magic involved ;) – gronostaj Jun 23 '13 at 9:54
Add that as an answer :-) I believe you are right. Just tested it, and it worked after renaming. – oligofren Jun 23 '13 at 9:58
up vote 1 down vote accepted

Windows Explorer performs a simple check: if there's a folder called {something}_files, it looks for a file {something}.html and assumes those two are associated.

It's rather unlikely that someone will create a pair like that by accident, so it's quite safe assumption. Chrome mimics IE's naming when saving webpages, that's why it works.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.