How would I count the number of files in a directory? Thanks!
Jump to Post
listFiles() and use the length of the returned array?
See the API docs for File.
All 9 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.