9,506
社区成员
发帖
与我相关
我的任务
分享
@echo off
setlocal enabledelayedexpansion
(for /f "delims=" %%i in (a.txt) do (
set count=0
for /f "skip=1 delims=" %%j in (a.txt) do (
if %%i equ %%j (
set /a count+=1
)
)
if !count! lss 2 (
echo %%i
)
))>b.txt