- @echo off
- set info=互助互利,支付宝扫码头像,感谢打赏
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- set "f1=1.txt"
- set "f2=2.txt"
- (for /f "delims=" %%a in ('type "%f1%"') do echo;%%a)>"%tmp%\t.t"
- (for /f "delims=" %%a in ('type "%f2%"') do (
- set "line=%%a"
- setlocal enabledelayedexpansion
- set "line=!line: =!"
- echo;!line:~,6!!line:~8,6!
- endlocal
- ))>>"%tmp%\t.t"
- copy /y "%tmp%\t.t" "%f1%"
- echo;%info%
- pause
复制代码
|