Counting the Number of Folders Not Files.

  • Thread starter Thread starter Ron
  • Start date Start date
R

Ron

I can count the number of files in a directory by using
foundfiles.count property, but what would I use to count
the number of folders(directories)?
 
or without the reference

MsgBox
CreateObject("Scripting.FileSystemObject").GetFolder("C:\Temp").SubFolders.C
ount
 
Back
Top