Sorry, I forgot, I was working on other problems.
I am sure that it is possible to match the number of elements in the Array to the number of fields, I will need to check if I have that code.
Moving the files to another folder can be achieved using the MoveFile method here
https://docs.microsoft.com/en-us/off...ovefile-method