E
Ed
Is there any known issue with the use of "Scripting.FileSystemObject"?
Here's a snippet of my code to obtain the filesize of a file
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.Getfile(strFileSpec)
lngFileSize = f.size
Set fso = Nothing
This used to work perfectly. But with the grown of files (now more than
50,000 files), this routine suddenly takes a long time to execute/hang.
Could someone shed some light into this matter?
We have Norton Antivirus installed. But with script blocking OFF.
Thank you.
Here's a snippet of my code to obtain the filesize of a file
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.Getfile(strFileSpec)
lngFileSize = f.size
Set fso = Nothing
This used to work perfectly. But with the grown of files (now more than
50,000 files), this routine suddenly takes a long time to execute/hang.
Could someone shed some light into this matter?
We have Norton Antivirus installed. But with script blocking OFF.
Thank you.