in reply to Re^3: Looking up elements of an array in another array!
in thread Looking up elements of an array in another array!
The scripts works now! It was not the encoding, but the carriage return, which was included in the "bad" text file. Monk McA came up with reading the text file in a hex code. After stripping of the carriage return from each ID, the IDs could be handed over as regex into your code. And voilà, a couple of thousand files had been found and copied.
Thanks again! That saved me a lot of time.
I'm feeling much