我确实有2个具有以下内容的csv: one.csv
Header1 |
-----------------
Frog |
-----------------
Cow |
two.csv
Header3 | Header4
-----------------
Cat | 1
-----------------
Dog |0
现在,我想合并csv,但要删除二者的标题和第二列。csv 它看起来应该像这样: final.csv
Header1 |
-------------------
Frog |
-------------------
Cow |
-------------------
Cat |
-------------------
Dog |
-------------------
我有此代码:
for /F "tokens=1 delims=;" %i in (xiti_file.csv) do @echo %i >> newfile.csv