/ Published in: VB.NET
count the number of folders in a directory
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Function ListeDossiers(ByVal Chemin As String) As Integer Return Directory.EnumerateDirectories(Chemin, "*", SearchOption.AllDirectories).Count() End Function