i need this lines to be there in the merged file,
I tried counting lines and echo it to the final file.
Tried using a for loop with all txt files and this command with the for loop
Code: Select all
echo %%a>>file.txt
Tried the same for loop but with type
Code: Select all
type %%a>>file.txt
I can't use the copy file1+file2+file3 file.txt because i don't know the names or how many files they are i'm using the for loop to get all files in directory and all files will be stored in the %%a variable
any idea?