DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Test()
Dim fold As Object, d$, top#
Set fold = CreateObject("Scripting.FileSystemObject"). _
GetFolder("c:\test").SubFolders
On Error Resume Next
For Each f In fold
d = Dir(f.Path & "\*.*")
While d <> ""
top = top + FileLen(f.Path & "\" & d)
d = Dir
Wend
Debug.Print f.Path & " klasörü boyutu : " & top / 1024 & " KB"
top = 0
Next
End Sub