How can I count the number of specific files in a directory. For example, I have the following files in C:\.
file1-temp1.txt
file2-temp1.txt
file3-temp1.txt
file1-temp2.txt
I only want to count the files which end in "temp1.txt" So from the files above, it would count a total of 3 files.
Thanks
file1-temp1.txt
file2-temp1.txt
file3-temp1.txt
file1-temp2.txt
I only want to count the files which end in "temp1.txt" So from the files above, it would count a total of 3 files.
Thanks