Return to Snippet

Revision: 77129
at August 23, 2019 03:18 by martinbrait

Initial Code
Function ListeFichiers(ByVal Chemin As String) As Integer
    Return Directory.EnumerateFiles(Chemin, "*", SearchOption.AllDirectories).Count()
End Function

Initial URL

Initial Description
count the number of files in a directory

Initial Title
[vbnet] [files] compter le nombre de fichiers d\'un répertoire

Initial Tags

Initial Language