I've been using
for %i in (.\*.prt) do echo %i >> newfile.prt && type %i >> newfile.prt
to concentate many many files in Command Prompt. Using this one because it adds the file name before each individual file. Problem is it ends up duplicating. I think that's because it's putting it in the same folder. How can I amend this script to dump it into a different folder?