- @echo off
- set info=互助互利,支付宝扫码头像,感谢打赏
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- set "afile=a.txt"
- set "bfile=b.txt"
- set "cfile=c.txt"
- (for /f "delims=" %%a in ('type "%afile%"') do (
- for /f "tokens=1* delims=-" %%b in ("%%a") do (
- for /f "delims=" %%d in ('type "%bfile%"') do (
- if "%%b" equ "%%d" echo;%%a
- )
- )
- ))>"%cfile%"
- echo;%info%
- pause
复制代码
|