I assume you mean “Extended Attributes” with “NTFS Metadata”, cause the metadata of the filesystem itself is only handled by the filesystem itself. For “Extended Attributes” you need to look at NT API functions to do this, you can look at (non-Pascal) code like
this (the code is in the
au3 files) or
this "documentation". The involved functions are available in the unit
JwaNative.
You could also simply store the information in an alternative datastream (open a file “YourFile.txt:MyData”).
In both cases you need to be aware however that the information might not survive a copying to a different filesystem (e.g. network storage). Also you need to provide some way to
view them for example by writing an extension for Windows Explorer.