批處理Sort命令用於從原始檔案獲取輸入,並按字母順序排列其內容,從A到Z或Z到A。它在控制臺上輸出。 語法 Sort [filename] 其中,filename是內容需要排序的檔。 示例 @echo off Sort C:\tp\lists.txt 上一篇: 批處理命令 下一篇: 批處理檔