Orca Skynet wrote: > Dont't know if this was mentioned before but -5 means access denied > and often occurs if the specified search path does not exist, instead > of the -3 'path not found' .... > > mfG > Lode
No, I don't think that was mentioned. It could certainly happen in this case where the program is looking for non-existant directories. However, thinking that this might be the case, I added an "if DirectoryExists (folder)" before the FindFirst iteration, but that didn't solve the problem. Thanks, David __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk