Getting Mutiple files

Hershel Fisch hershrev at syp2u4c.com
Thu Jun 18 18:12:51 EDT 2009


Thanks to every one.
Hershel


On 6/17/09 6:57 PM, "Phil Davis" <revdev at pdslabs.net> wrote:

> Try this:
> 
> function filesInFolder pTargetPath
>    if the platform = "Win32" then
>       replace "/" with "\" in pTargetPath
>       return shell("dir" && quote & pTargetPath & quote && "/B")
>    else return shell("ls" && quote & pTargetPath & quote)
> end filesInFolder
>  
> 
> However, you can always do it the way others have suggested without
> causing any problems.
> 
> 
> Hershel Fisch wrote:
>> Hi, how can I get a list of files in a folder (without changing the
>> defaultFolder)?
>> Thanks, Hershel
>>   





More information about the use-livecode mailing list