I have to write a batch file that reads lines from two separate text files and concatenates them with 4 spaces in between and then outputs this into another text file. This has to be on a schedule so it must be able to run without human intervention . e.g.
File1.txt contains the line "ABCDEFGH"
File2.txt contains the line "123456789"
Output text file needs to look like:
ABCDEFGH~~~~123456789 (where ~ is a space)