Return to Snippet

Revision: 77128
at August 23, 2019 03:16 by martinbrait

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

Initial URL

Initial Description
count the number of folders in a directory

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

Initial Tags

Initial Language