aziz rasul
Active member
- Local time
- Today, 12:47
- Joined
- Jun 26, 2000
- Messages
- 1,935
I have the following code in MS Access 2000: -
Dim fs As Variant
Dim FileCount As Integer
Dim j As Variant
Set fs = Application.FileSearch
strImportDir = "D:\NTL\TextFiles_EXP_Import\IN\"
With fs
.NewSearch
.LookIn = strImportDir
.FileName = "OSSPRD2.*.*"
.SearchSubFolders = False
.Execute
For Each j In .FoundFiles
Debug.Print j
Next j
End With
Is it possible to obtain the size of each of the files?
Dim fs As Variant
Dim FileCount As Integer
Dim j As Variant
Set fs = Application.FileSearch
strImportDir = "D:\NTL\TextFiles_EXP_Import\IN\"
With fs
.NewSearch
.LookIn = strImportDir
.FileName = "OSSPRD2.*.*"
.SearchSubFolders = False
.Execute
For Each j In .FoundFiles
Debug.Print j
Next j
End With
Is it possible to obtain the size of each of the files?