2
我是關於批處理命令的新手。批處理,讀取第n行到第m行的文本文件
我有五個文本文件在不同的文件夾中。例如,
c:\case1\case1.txt
c:\case2\case2.txt
c:\case3\case3.txt
所以我想讀n行的這些文本文件到第m條線 寫在同一個文本文件,這些數值。我如何製作批處理文件?
例如,結果文本文件,我想是....
案例1
10456 <--- this valus is in n'th line in case1.txt
3456 <--- this valus is in n+1'th line in case1.txt
23455 <--- this valus is in n+2'th = m'th line in case1.txt
案例2
49566 <--- this valus is in n'th line in case2.txt
85494 <--- this valus is in n+1'th line in case2.txt
38566 <--- this valus is in n+2'th = m'th line in case2.txt
情形3
49658 <--- this valus is in n'th line in case3.txt
48569 <--- this valus is in n+1'th line in case3.txt
39245 <--- this valus is in n+2'th = m'th line in case3.txt
這樣。
而重要的是......其實,我真的是新的批次。所以你可以寫出完整的命令,不僅是命令的一部分。
謝謝非常多!