On Windows:
When I save a website in Firefox, eg. the QB64 Wiki Main page (Menu: File -> Save As / or respectively Ctrl-S), then Firefox does create a .html file with the actual site contents and a folder which contains all files (such as linked images, css etc.) required to properly show that site offline.
This .html file and the respective folder are linked in such a way, so that every action done to either in the Explorer does automatically do the same with the other. Ie. if I select the .html only and delete it, then it will automatically delete the folder too. If I move the folder to a new location, then the .html file will automatically follow that move. Same with copy.
Now I'm curious how this connection is done, as I could really use this feature for one of my programs. I looked at the properties of both, the .html and the respective folder, but there is nothing obvious telling how it's done.
The MKLINK command line instruction does not do this type of interconnection, and searching the internet for things like "file/folder interconnection", "file bindings", "file/folder link" and several similar phrases do not show up any useful stuff, but points always back to the MKLINK type linking.
So somehow this .html file and the folder must be magically connected, so that every action done on the one, does magically trigger the same action for the other. Is anybody here who could point me into the right direction?, maybe our WinAPI Guru
@SpriggsySpriggs?
Any way to do such connections would be acceptable, SHELLing command line, powershell, vbs or even making a C-header directly using the WinAPI.