Toggle navigation
PxPlus User Forum
PxPlus User Forum
»
Main Board
»
Discussions
»
Programming
»
Extended File Info from open Directory
Likes
« previous
next »
Print
Pages: [
1
]
Author
Topic: Extended File Info from open Directory (Read 1429 times)
James Zukowski
Diamond Member
Posts: 310
Extended File Info from open Directory
«
on:
October 02, 2019, 10:48:49 AM »
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!
Logged
James Zukowski
Sr. Developer - J&E
BRAND
>
SAFWAY
Brand Industrial Services
michaelgreer
Diamond Member
Posts: 129
Re: Extended File Info from open Directory
«
Reply #1 on:
October 02, 2019, 10:52:49 AM »
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
Logged
Mike King
Diamond Member
Posts: 3828
Mike King
Re: Extended File Info from open Directory
«
Reply #2 on:
October 02, 2019, 10:56:54 AM »
James
Add a OPT="+INFO" to get additional information when reading a directory.
For details please see the following
documentation
.
Logged
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com
Print
Pages: [
1
]
« previous
next »
PxPlus User Forum
»
Main Board
»
Discussions
»
Programming
»
Extended File Info from open Directory