Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# count files in directory and subdirectories

var countFiles = System.IO.Directory.GetFiles(sourcePath, "*.*", SearchOption.AllDirectories).Count();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #count #files #directory #subdirectories
ADD COMMENT
Topic
Name
7+9 =