Windows是否支持每个文件的元数据? [英] Does Windows support metadata for every file?

查看:78
本文介绍了Windows是否支持每个文件的元数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道诸如图像,音乐,视频之类的东西支持元数据.我的想法是,我想编写一个下载管理器,将信息添加到我下载的文件中:我从中下载它的URL,我下载它的日期和时间,可能还有更多.为此,我需要添加的信息不仅限于照片和视频.我只可以保存一个隐藏的.XML文件,但是如果Windows已经支持此文件,那就更好了.

I know things like images, music, videos support metadata. My idea is that I want to write a download manager that adds info to the files I download: the URL I downloaded it from, the date and time I downloaded it, possibly some more. For this to work I need to add info for more than just photos and videos. I could just save a hidden .XML flie, but if Windows supports this already then it would be better.

推荐答案

有一个叫做备用数据流"的东西,NTFS支持任何文件.我不确定该用什么.

There is a thing called an "Alternate Data Stream" which NTFS supprorts for any file. I'm not really sure what it's meant to be used for though.

您在JPG的(exif属性),MP3(ID3标签)等中看到的元数据都是每种文件格式专有的,而Windows仅知道如何读取这些属性.修改/创建/访问日期也是如此.没有任何一种存储此数据的方法.

The metadata that you see in JPG's (exif properties), MP3s (ID3 Tags) and whatnot are all proprietary to each file format, and Windows simply knows how to read those properties. Same goes for Modifed/Created/Accessed dates. There is no one method of storing this data.

这篇关于Windows是否支持每个文件的元数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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