Getting description for use in external application

Hi there! o)

Is it possible to export description/comment of directories/files for reuse in another application? (A website actually.)
I imagine something like: "dopusexport.exe /i "fileA.jpg" /m comment /o comment.txt

I'd like to know when the export is done and if it succeeded (return code).
Using dopusrt.exe (async) or scripting (objects not available outside DO) does not help currently.

A specific little C program to read directory comments from the AD stream would be ok for now.
Would you provide the necessary technical details for something like this?

Thanks in advance, tbone! o)

[quote="tbone"]A specific little C program to read directory comments from the AD stream would be ok for now.
Would you provide the necessary technical details for something like this?[/quote]

Details are in Format of NTFS description stream.