Question

Saving a website from inside a browser to your local disk, you end up with

Google.htm
Google_files/

When you delete or move one of these items, both of them are deleted or moved. Do you know how this is achieved? I tested this on NTFS and FAT formatted drives, works on both.

And a follow-up question: workarounds are obvious, but how to remove this bond from a set of files?

Was it helpful?

Solution

This is an explorer.exe (Windows GUI shell) feature, not the file system. If you remove via an application that uses other mechanisms (remove function in C), this doesn't happen. Calling del from a command prompt will also delete just the html file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top