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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.