btw, I would suggest that you use actually something like:
$file.Move($folder + "\AND" + $date + "-" + right("00"+$i,3) + ".tif")


to make the numbers sort correctly when 10 or more images present.
_________________________
!

download KiXnet