I saved a webpage in my browser as HTML. It saved not only a HTML file, but also a directory with various image files and whatnot.
So J'ai supprimé the dir, since I only wanted the HTML file.
Windows deleted the HTML file anyway.
Je supposed that I had both selected, so I restored them from the trash can and very specifically selected only the HTML file. Delete. Both deleted.
I restored them once again and tried to move the dir to the trash can. The HTML file was deleted again.
Somehow, Windows (10) has "coupled" these internally somehow, refusing to let me move or delete them individually. Extremely annoying.
J'ai fini par deleting them and then restoring only the HTML file from the trash can. It didn't restore the dir in that situation, au moins. But that's a ridiculous thing to have to do.
Pourquoi it do this in the first place? I didn't know it *could* do this at all.
Pourquoi Windows magically "couple" some fichiers like this?
Re: Pourquoi Windows magically "couple" some fichiers like this?
>
Pourquoi it do this in the first place?
Because Explorateur Windows (specifically) is set up to associate any items with an `.htm` or `.html` extension with any folder with a `_file` or `_files` extension, assuming that they have the same basic nom de fichier (e.g. `example.htm` and `example_file`).
*Notes*
-
Items are related by nom de fichier only. Alterations to the names (e.g. removing `_file` or `_files` after the folder name) will stop Explorer from treating them as a pair.
-
I am unaware of any easy way to adjust this association, such as via a Explorateur Windows setting or toggle.
-
Operations run from the ligne de commande shouldn't run into this association issue.
Pourquoi it do this in the first place?
Because Explorateur Windows (specifically) is set up to associate any items with an `.htm` or `.html` extension with any folder with a `_file` or `_files` extension, assuming that they have the same basic nom de fichier (e.g. `example.htm` and `example_file`).
*Notes*
-
Items are related by nom de fichier only. Alterations to the names (e.g. removing `_file` or `_files` after the folder name) will stop Explorer from treating them as a pair.
-
I am unaware of any easy way to adjust this association, such as via a Explorateur Windows setting or toggle.
-
Operations run from the ligne de commande shouldn't run into this association issue.