回复 3# 15882820103 - @echo off
- set info=互助互利,支付宝扫码头像,感谢赞助
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- set "line=3"
- set "file1=D:\A.txt"
- set "file2=D:\B.ini"
- for /f "tokens=1* delims=:" %%a in ('type "%file1%"^|findstr /n .*') do (
- if "%%a" equ "%line%" (
- echo;"%%b"
- for /f "tokens=1*" %%c in ("%%b") do (
- (echo;[%%c]
- echo;帐号=%%c
- echo;密码=%%d)>"%file2%"
- )
- )
- )
- echo;%info%
- pause
复制代码
|