Listing all the files in all subfolders

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

Moderators: FourthWorld, heatherlaine, Klaus, 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 » Sat Aug 03, 2013 6:46 pm

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 » Sat Aug 03, 2013 10:54 pm

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 » Thu Aug 08, 2013 4:46 pm

Thanks Paul!

Post Reply