How could I interleave files line by line with
with help of read, grep, echo, etc?
File1.txt with the context:>
You need a method to read from two files in parallel. This is possible by using two methods at the same time ( and for /f ... in (file2)):
and for /f ... in (file2)):
for /f ... in (file2)
@echo off setlocal enabledelayedexpansion outcome.txt