思想之翼 当前离线
上尉
@echo off (for %%a in (*.txt) do ( if not "%%~za" == "0" ( type "%%a" ) else echo, ))>$ move $ "a.txt" exit复制代码
wscript 当前离线
上等兵
@echo off rem del a.txt findstr /m $ *.txt > $.tmp ( for /f "eol=* delims=*" %%a in ($.tmp) do type "%%a" for /f "eol=* delims=*" %%a in ('dir /b *.txt ^| findstr /lvx /g:$.tmp') do ( type "%%a"&echo, ) )>$ move $ "a.txt" del $.tmp exit/b复制代码
评分人数
TOP
DAIC 当前离线
中将
@echo off (for %%a in (*.txt) do ( if not "%%~za" == "0" ( type "%%a" ) echo, ))>a.log复制代码