Getting list of files in a folder
Terry Judd
tsj at unimelb.edu.au
Tue Feb 9 00:13:54 EST 2010
How about this?
function listFiles pFolderPath
set the defaultFolder to pFolderPath
put the files into tFiles
filter tFiles without ".*"
put empty into tList
repeat for each line tFile in tFiles
put tFile &tab& (pFolderPath &"/"& tFile) &cr after tList
end repeat
return char 1 to -2 of tList
end listFiles
Terry...
On 9/02/10 4:05 PM, "Mark Swindell" <mdswindell at cruzio.com> wrote:
> How do I return a list of the files in a given folder on disk along with their
> full path?
>
> Thanks,
> Mark_______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list