Windows如何将html文件链接到文件夹? [英] How does windows link html files to folders?

查看:1059
本文介绍了Windows如何将html文件链接到文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几乎每次将网页从网页浏览器保存到本地计算机时,都会创建一个PAGENAME.html(htm)文件,并创建一个名为'PAGENAME_files'的文件夹,其中包含特定于该网页的资源。



如果您复制/移动/删除文件夹或.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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆