xiaobingbang 当前离线
列兵
评分人数
TOP
pcl_test 当前离线
荣誉版主
@echo off setlocal enabledelayedexpansion set /p tmp=<"1.txt" (for /f "delims=" %%a in ('more +1 "1.txt"') do ( if "%%a" == "!tmp!" echo,%%a set "tmp=%%a" ))>"2.txt" pause复制代码