Page 1 of 1

file information

Posted: Sun Jul 10, 2011 8:00 pm
by drOrganized
I would like to be able to access the file information , i.e. date created, date modified, pertaining to files in a folder...
I understand how to get a list of files in a folder using "the files" syntax. How can I access the information about that file so that I can display each file with the date, etc?

Thanks in advance for your help... !

Re: file information

Posted: Sun Jul 10, 2011 9:04 pm
by jacque
Use "the detailed files" to get the list. That returns all the info.

Re: file information

Posted: Mon Jul 11, 2011 3:15 am
by drOrganized
Dear Jaque,

Thanks for your reply.

CAn you tell me what all the numbers of the result mean. I understand that the 2nd item is file size,a dn it looks like 4th and 5th are the dates in seconds. What about the rest?

Unfortunate that this is not documented somewhere...

Thanks again,
M~

Re: file information

Posted: Mon Jul 11, 2011 4:05 am
by wsamples
Check the entry "files" in the Livecode dictionary. It gives a full explanation.

Re: file information

Posted: Mon Jul 11, 2011 11:56 am
by drOrganized
thank you...

Re: file information

Posted: Mon Jul 11, 2011 6:11 pm
by Klaus
This is everything but OFF-Topic, so I will move this thread to another forum! 8)