Extended File Info from open Directory

Started by James Zukowski, October 02, 2019, 10:48:49 AM

Previous topic - Next topic

James Zukowski

I recall seeing (somewhere) a Directory being opened with certain options, and the READ providing more than simply the name. Does anyone know what that might be?
We're currently using RedHat Linux 5.

Thanks!
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

Michael Greer

James,

On Linux I frequently do this instead of just opening the directory:

open(hfn)"<ls -l /path/to/dir"

It is then simple to parse out the response.

Michael

Mike King

James

Add a OPT="+INFO" to get additional information when reading a directory.

For details please see the following documentation.
Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com