I have been trying to find a way to read a string from a data file, then copy this to the end of a string in a different file.
I have tried the copy command (a1.txt+data.dat comb.bat>nul) and it seems to copy the data to the next line and not to the end of the line.
For example I would like to copy the string "123456" from file data.dat and append it to the line "<command> /a /b g:" and make this a batch file that can be executed.
The resulting bacth line would look like "<command> /a /b g:123456" in the batch file.
mjedski