我是关于批处理命令的新手。
我在不同的文件夹中有五个文本文件。例如,
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
像这样。
而且重要的是......实际上,我真的对批次很新。所以你不仅可以写命令的全部命令。
非常感谢!!