ProfReynolds
Programmer
I am experiencing v-e-r-y slow copies from one XP machine to another. Especially when the file count approaches 200. Half of the files are 1KB or less, most of the rest <500KB, a few may reach 1.5MB.
I am using VBA to make the copy. I cannot DOS copy *.* because only a subset of the source folder files have been preselected.
Any ideas how to make it faster?
The relavent code section is:
I am using VBA to make the copy. I cannot DOS copy *.* because only a subset of the source folder files have been preselected.
Any ideas how to make it faster?
The relavent code section is:
Code:
Dim FileObj As Scripting.FileSystemObject
Set FileObj = New Scripting.FileSystemObject
for i=1 to n
FileObj.MoveFile _
"Z:\RemoteFolder\" + FileNameList(i), _
"C:\LocalFolder\" + FileNameList(i)
next