问题 I have two text files as A.txt and B.txt with the below contents: A.txt value_a1,value_a2 value_b value_c value_d value_e1,value_e2 B.txt 12,14 13 15 16 23,34 I want output file C.txt as "value_a1","12","value_a2","14" "value_b","13" "value_c","15" "value_d,"16" "value_e1,"23","value_e2","34" Please guide me through as I am new to Batch Script. 回答1: Following code will work: @Echo off echo. >>d.txt type b.txt >>d.txt set dec=1 For /F "usebackq tokens=1,* delims=, " %%a in ("a.txt") do call