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.

URL: http://www.barattalo.it/2010/02/09/asp-function-to-count-files-in-a-folder/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.