strFolder = „C:\TEMP\FOLDER23“
Schemerig aFileNameSize (0, 1)
Plaats objFSO = CreateObject („Scripting.FileSystemObject“)
Plaats colFolder = objFSO.GetFolder (strFolder)
Plaats colFiles = colFolder.Files
Voor elk strFile in colFiles
aFileNameSize (0.0) = strfile.name
aFileNameSize (0.1) = strfile.size
strFileName = aFileNameSize (0.0)
intFileSize = aFileNameSize (0.1)
MsgBox strFileName & „,“ & intFileSize & „bytes“
Daarna
|