格式一定的可以直接生成,都不用替换。- @echo off
-
- (for /f "skip=1 tokens=1,2" %%i in (A.txt) do (
- echo [%%i]
- echo 帐号=%%i
- echo 密码=%%j
- echo=
- ))>b.ini
- pause
复制代码 结果:- [38351256624]
- 帐号=38351256624
- 密码=evjbc2F6trIE
-
- [88851666312]
- 帐号=88851666312
- 密码=w1Uty03GVmLs
-
- [95254621566]
- 帐号=95254621566
- 密码=scy6r4iDtw3l
-
- [15454461362]
- 帐号=15454461362
- 密码=DPOr377CyJtj
复制代码
|