We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Count Number of Files in a Folder
Page Index Toggle Pages: 1
Count Number of Files in a Folder? (Read 330 times)
Count Number of Files in a Folder?
Feb 26th, 2008, 6:08pm
 
Hi Folks,

i was searching like crazy, but could not find a answer, how i can count the number of files which are locallys in a specified folder and get their names?

For example i have a folder which is full of .txt files and i need the number of these files and their names in order to load the corecct ones without there is a «missing or inaccessible» error which crashes the app.

Thanks a LOT!

Re: Count Number of Files in a Folder?
Reply #1 - Feb 26th, 2008, 7:33pm
 
Check this out:


http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1102443774
Re: Count Number of Files in a Folder?
Reply #2 - Feb 28th, 2008, 1:42pm
 
GREAT!
100000 thanks, thats absolutly what i was looking for!
Very good that there is such a forum and such nice people!
Page Index Toggle Pages: 1