且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

可以将自定义属性添加到 NTFS 文件夹吗?

更新时间:2022-11-18 19:49:37

如果你觉得勇敢(或愚蠢)也许 替代数据流 将是一个替代方案.

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 标志,我不知道.
  1. There are no standard windows user tool that lists them (e.g. can't view from explorer or cmd prompt, but can be opened in most programs given correct name).
  2. They will not transfer off of the NTFS filesystem well.
  3. They may also raise some AV flags, I do not know.

快乐编码.