Aller directement au contenu principal

Nombre de fichiers dans le répertoire

Structure

FileCountInDirectory(sDirectory, sExt : String) : Integer

Type

Fonction

Description

Cette fonction renvoie le nombre de fichiers présents dans sDirectory dont l'extension correspond à sExt.

Paramètres : 2

| Paramètre | Type | Description
| sDirectory | Chaîne | Répertoire dans lequel le fichier doit être compté | sExt | Chaîne | Extension à rechercher |

Exemple :

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