How to count files in a folder
633286Apr 29 2008 — edited Apr 29 2008Hello!
I have a folder with .txt files. If the file name is STRING i need to count all .txt files whose file names contain "STRING".
For example, if there are STRING.txt, STRING1.txt,STRING2.txt.... in the folder, i need to find out how many of .txt files are there, where substr(filename,0,6)='STRING'
How can i do this?
Cheers
A.