[comp.sys.amiga.tech] Amiga DOS

zupke@jato.Jpl.Nasa.Gov (Brian Zupke ) (08/31/89)

Does anyone know how to read the FILENOTE comments that can be attached to
files in a C program?

new@udel.EDU (Darren New) (09/01/89)

Lock the file name (or somehow obtain a lock on it).
Then Examine the lock (or otherwise obtain the FileInfoBlock for the file,
for example with ExNext).
The comment is a null-terminated string in the fib->fib_Comment field.
As far as I know this is the only way to get the comment. -- Darren