可以将自定义属性添加到NTFS文件夹吗? [英] Can one add custom properties to NTFS folders?

查看:644
本文介绍了可以将自定义属性添加到NTFS文件夹吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够将自己的自定义数据/属性添加到NTFS上的现有文件夹,以便如果文件夹被移动,属性将随之移动。一个解决方案是将文件存储在文件夹中,以包含任何我需要或想要的。

I would like to be able to add my own custom data/properties to existing folders on NTFS, so that if a folder is moved, the properties move with it. One solution would be to store a file within the folder to contain whatever I need or want.

我特别感兴趣的是,是否有办法添加自定义属性到目录文件系统对象本身。

What I am particularly interested in, is whether or not there is a way to add custom properties to the directory file system object itself.

推荐答案

如果你感觉很勇敢(或者愚蠢)也许可以选择替代数据流

If you are feeling brave (or foolish) perhaps an Alternative Data Stream would be an alternative.

我不确定是否可以应用到一个目录而不是一个普通的文件,而且这个目录需要考虑:

I am not sure if can be applied to a directory as opposed to a normal file and it's littered with concerns that need to be considered:


  1. 没有标准的Windows用户工具列出它们(例如,无法从资源管理器或cmd提示符查看,但是可以在大多数情况下打开程序给出了正确的名称)。
  2. 它们不会从NTFS文件系统中很好地转移出去。
  3. 它们也可能会引起一些AV标志,知道。

快乐编码。

这篇关于可以将自定义属性添加到NTFS文件夹吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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