Batch file to merge two column strings from two files into one file
Posted: 14 Feb 2022 09:32
HI All,.
I have been searched up for a batch scripts solution to do the below job:
file1.txt which has strings listed as below
"12345"
"23456"
"34567"
"45678"
file2.txt
"abcde"
"bcdef"
"cdefg"
"defgh"
Now I would like to merge this two files as one file, in this file the two list of strings also merged as below
"12345" "abcde"
"23456" "bcdef"
"34567" "cdefg"
"45678" "defgh"
I know there are some other language can do this job easier than batch scripts. Can we do this in batch?
I have been searched up for a batch scripts solution to do the below job:
file1.txt which has strings listed as below
"12345"
"23456"
"34567"
"45678"
file2.txt
"abcde"
"bcdef"
"cdefg"
"defgh"
Now I would like to merge this two files as one file, in this file the two list of strings also merged as below
"12345" "abcde"
"23456" "bcdef"
"34567" "cdefg"
"45678" "defgh"
I know there are some other language can do this job easier than batch scripts. Can we do this in batch?