Zum Hauptinhalt springen

FileCountInDirectory

Structure

FileCountInDirectory(sDirectory, sExt: String): Integer

Type

Function

Description

This function a count of the # of files in sDirectory that have a file extension matching sExt.

Parameters: 2

| Parameter | Type | Description
| sDirectory | String | Directory where the file should be countedsExt | String | Extension that should be matched |

Example:

iCount = FileCountInDirectory("C:\temp", "TXT") |