Standalones and the defaultFolder

Paul Dupuis paul at researchware.com
Sun Dec 15 08:29:05 EST 2019


On 12/14/2019 8:33 PM, Alex Tweedly via use-livecode wrote:
>
>>> On Dec 13, 2019, at 3:21 PM, Bob Sneidar via use-livecode 
>>> <use-livecode at lists.runrev.com> wrote:
>>>
>>> Thanks for the confirmation Tom. I did see two places in my code 
>>> that I have to set the default folder, so I just reset it when I am 
>>> done. Same thing, getting list of files. There may have been some 
>>> discussion in the past about a files command where the path could be 
>>> passed, but that's not close to any priority.
>
> Hi Bob. Since 8.1 the files command allows the directory to be 
> provided, e.g.
>
>    put files("..") into temp
>
>    put files("/user/alex", "detailed") into temp
>
> etc. Also works for  folders()
>
> Alex.
>

Just a reminder that the files(<path>,"detailed") (i.e. the detailed 
files) and the detailed folders are NOT Unicode aware. If you have any 
Unicode characters in path or the file names, they will be returned as 
URLEncoded question marks making matching a specific name in the 
returned data difficult.

https://quality.livecode.com/show_bug.cgi?id=22213




More information about the use-livecode mailing list