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