The Files Function borked?

Bob Sneidar bobsneidar at iotecdigital.com
Tue Jan 14 13:16:27 EST 2025


What would really be handy is a way to get the detailed file information for a single file. There is a use case where there may be many thousands of files in a directory, and enumerating the detailed files then filtering for the one you want seems onerous and probably time consuming. 

I throught about rolling my own, but then when doing this for Windows and using the shell command I keep getting “file not found.” 

answer file "Select file"  put it into tFileName
put "dir /T:W "  & quote & tFileName & quote into tCmd
put shell(tCmd)

I doubt it but is there a command in Livecode to get the mod date of a file? 

Bob S


> On Jan 14, 2025, at 8:56 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Interestingly, the function form works as well.
> 
> Bob S
> 
> 
> On Jan 14, 2025, at 8:48 AM, Bob Sneidar <bobsneidar at iotecdigital.com> wrote:
> 
> Thanks for checking. That is a pretty big bug. I will submit a bug report shortly.
> 
> Bob S
> 
> 



More information about the use-livecode mailing list