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@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

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to