Windows如何将html文件链接到文件夹? [英] How does windows link html files to folders?
问题描述
如果您复制/移动/删除文件夹或.html文件,Windows自动执行与其他文件相同的操作。
如果您创建一个名为1.html的文件和一个名为1_files的文件夹,也会发生这种情况。 此链接是否发生?为什么它只适用于网页文件?
编辑:对于那些正在进行downvoting的人,请解释原因。我在谷歌上搜索过,没有任何结果。同样的事情在Stackoverflow上。
这是一个shell功能,而不是文件系统功能。在复制/移动.htm [l]文件时,shell复制引擎只会查找具有相同名称的文件夹(加上本地化后缀)。
该功能称为Connected文件并且记录这里。
Almost every time you save a web page from a web browser to your local computer a PAGENAME.html(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 it works only with web files?
Edit: For those who are downvoting please explain the reason. I did searches on google and came up with nothing. The same thing on Stackoverflow.
This is a shell feature, not a file system feature. The shell copy engine just looks for a folder with the same name (plus a localized suffix) when copying/moving .htm[l] files.
This feature is called Connected Files and is documented here.
这篇关于Windows如何将html文件链接到文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!