PxPlus User Forum

Main Board => Discussions => Language => Topic started by: James Zukowski on April 08, 2021, 04:38:10 PM

Title: Directory +INFO
Post by: James Zukowski on April 08, 2021, 04:38:10 PM
According to the documentation, we can get detailed file information by opening a directory with opt="+INFO". This provides:
I'm presuming this is the order the data comes back in. If that's the case, how can I get a Creation date that's after the Last Modified date?

Thanks for any clarifications.
Title: Re: Directory +INFO
Post by: RobL on April 08, 2021, 05:36:28 PM
Hi James,

That can happen if the file is a copy of another file. The copy of the file gets a new 'creation date', but keeps the original 'last modified' date.  That's what happens on Windows, not sure if it's the same on Linux.

Hope that helps!

Rob Leighton
Riverwood Enterprises Inc.
Title: Re: Directory +INFO
Post by: Devon Austen on April 09, 2021, 09:00:27 AM
I can confirm after looking at the code that that order in the doc is correct.
Title: Re: Directory +INFO
Post by: James Zukowski on April 09, 2021, 09:57:22 AM
Thanks, guys!