wheat611 当前离线
列兵
smallming 当前离线
TOP
digger 当前离线
上等兵
wskwfkbdn (见与不见)当前离线
五级士官
batman 当前离线
考官
荣誉版主
@echo off&setlocal enabledelayedexpansion (for /f "tokens=1* delims=:" %%a in ('findstr /n .* a.txt') do ( set "str=%%b" if "%%b" equ "" set "flag=" if defined flag ( set "str=!str: =!" echo,!str:\=! ) if "%%b" neq "" if "!str:INCLUDE=!" neq "!str!" set "flag=a" ))>header.txt start header.txt复制代码