I have two .txt files. The first one contains the list of pathes to the CD-Images:
C:\\Users\\N\\Desktop\\LOG_Dateien_CD_Imaging\\BFU_KONGRESS_9.ISO C:\\Users
you need a way to read two files in parallel:
@echo off setlocal enabledelayedexpansion
Another way: read both files (one after the other) into two arrays and then work with the array variables, but it's more code and might have issues with very large files.