batch 在每行開頭新增資料 - Windows

Table of Contents

小弟初學batch file

想問下如果有我一個txt檔如下
123 apple
456465 orange
88 banana
.
.
.
第一欄是數字,第二欄是字串,

1.我想要將每一行通過第一欄排序大小

2.之後在開頭新增一個新的欄位,放其他字串例如 Aa 123 apple 這樣

大致拆成兩步,請問如何只用bat完成呢?

感謝

--

All Comments