ASP Function to count files in a folder

/ Published in: ASP
Save to your folder(s)

This ASP function counts files of a specified extension inside a folder: this is done by creating a file system object, open folder and scan files for matching the extension. The match of the extension is made without regular expression but using string functions: Right, Len and Ucase.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.