- @echo off
- set info=互助互利,支付宝扫码头像,感谢打赏
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- for /f "tokens=2 delims==" %%a in ('wmic OS get LocalDateTime /value ^|find "="') do set d=%%a
- set "file=汇总%d:~,4%-%d:~4,2%-%d:~6,2%.txt"
- type nul>"%file%"
- for /f "delims=" %%a in ('dir /a-d/b/od/tc *.txt^|findstr /liv /c:"模板" /c:"汇总"') do (
- echo;%%a
- (echo;%%~na
- echo;=============
- echo;
- type "%%a"
- echo;)>>"%file%"
- )
- :end
- echo;%info%
- pause
复制代码
|