I have a list of files, say a
, b
and c
. If I need to concatenate them in that order into a single file, I'd use:
copy /B a+b+c outputfile
How do I do the same if the filenames are in an array? Eg:
set FILE_LIST=(a b c)
I don't want to specify each file name when copying, and wondering if I could just iterate the array and concatenate.