Listing all the files in all subfolders

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
andrewferguson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 184
Joined: Wed Apr 10, 2013 5:09 pm

Listing all the files in all subfolders

Post by andrewferguson »

Hi,
How can I get a list of the of all the files in a folder, including subfolders. Ideally, there would be a list of files, one file per line, with the files name and then a comma, then its location.
Is this possible?
Thanks,
Andrew
paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Re: Listing all the files in all subfolders

Post by paul_gr »

Hi Andrew,

useful example on Ken Ray's site; will be a good basis for what you want...

http://www.sonsothunder.com/devres/live ... ile007.htm

cheers
Paul
andrewferguson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 184
Joined: Wed Apr 10, 2013 5:09 pm

Re: Listing all the files in all subfolders

Post by andrewferguson »

Thanks Paul!
Post Reply