Count files in a folder

Hi,
PB 10.5
How can I get a count of how many text files are contained in a certain folder on my C:/ drive?

thx,
Dave
coperations07Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
sandeep_patelConnect With a Mentor Commented:
Use listbox and it's functions

long ll_counts
lb_files.DirList("C:\EMPLOYEE\*.TXT", 0)
ll_counts = lb_files.totalitems()

Regards,
Sandeep
0
 
coperations07Author Commented:
That'll get it.

Thanks!
0
All Courses

From novice to tech pro — start learning today.