I have thousands of .prt files that I'm combining in CMD using "copy /b *.prt newfile.prt". I'm importing those into Excel, and it works just fine, other than I would love to include the individual files names as well. Is there a command I can use for this in CMD? OR something to add to the one I'm using? Any help would be greatly appreciated.
Depending on exactly how you want to include filenames in the new concatenated file, your implementation may be different. Below is merely an example, where the name of every individual file preceeds its contents in the new one: