Windows 上是否有 Mac OS-X 文件系统包的对应版本?
我需要的是一个用户可以在 Windows 资源管理器中将其作为单个文件处理的目录。这样的事情存在吗?如果不是,最接近的是什么?
What I need is a directory which the user can handle as a single file in the Windows explorer. Does something like this exist? If not, what comes closest?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
最接近的可能是备用数据流,尽管它们更类似于 MacOS 命名叉而不是捆绑包。
还有一些特殊情况,例如,如果您使用 Internet Explorer 保存网站,您会得到一个链接在一起的 HTML 文件和文件夹。
The closest thing is probably Alternate Data Streams, although those are more akin to MacOS Named Forks than Bundles.
There are also some special cases, for example if you save a website with Internet Explorer you get an HTML file and a folder which are linked together.
取决于您的具体需求。如上所述,命名流是可能的(在 NTFS 上),但是您应该注意到,并非所有应用程序都能正确复制具有命名流的文件。在某些情况下,常规 ZIP 存档可以工作(资源管理器将它们显示为文件夹)。如果您正在进行软件开发,则存在一些库可以让您将多个文件存储在一个容器文件中(例如 SolFS< /a>)。
Depends on your particular needs. As mentioned above, named streams are possible (on NTFS), however you should notice that not all applications copy files with named streams correctly. In some scenarios regular ZIP archives can work (Explorer shows them as folders). If you are doing software development, there exist libraries that let you store many files in one container file (eg. SolFS).
我认为您可以创建一个带有扩展名的文件夹,例如 Myfolder.bundle,然后您可以将该扩展名与自定义图标相关联。因此,对于最终用户而言,它看起来就像一个捆绑包。
I think you can create a folder with an extension, e.g. Myfolder.bundle, then you can associate that extension with a custom icon. So it looks like a bundle as far as the end user is concerned.