|
Answer» Hi Is there any way we can add a break LINE while appending *.txt to some other file? for example test1.txt contents a b c d TEST2.txt contents 1234 test3.txt contents a b c d ********** 1 2 3 4
COPPY test1 + test2 test3 appends the files but I want to add break line in between. echo ***************>>test3 adds at the end of line but I need a break line while each file is appending. Please advice.Don't USE COPY.
Use TYPE to avoid the last line problems. Code: [Select] TYPE test1.txt > test3.txt echo ***********>>test3.txt TYPE test2.txt >> test3.txt
Dias, this SOLUTION works good for two files where we can mention file name but I need for all *.txt in a folder. Any idea please??YES. Use FOR loop to parse output of DIR with appropriate switches and append files one by oneOh! thanks for the tip Dias
|