Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

files count in a directory using FileConnection

 
sivakumar arani
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to find the number of files present in a directory?
presently i am using 'Enumeration e = filecon.list();' and iterating through while loop and counting. but application is getting stuck-up in this case when no. of files is large.

any ideas please help

thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic