I have a strange issue with a batch file that combines multiple CSV files into one. This is the file I am using.
It will only take one of the CSV files of multiples in the directory and copies it's contents to the new.csv file. It then returns "Too Many Arguments in Command line" for each of the remaining files in the directory.
This file works perfectly fine on other systems with the same operating system.
It worked on my system until I re-ran it and did not delete the output file first. That caused new.csv.tmp to be produced in the directory and not the final "new.csv", as it couldn't rename it.
Does anyone know what happened? I have tried restarting, deleting everything and starting from scratch. It seems permanently broken on this particular system.
Some searching found that the more command could be at fault. This question is similar.