- @echo off&SETLOCAL ENABLEDELAYEDEXPANSION
- set /a x=0
- for /f "delims=*" %%a in (b.txt) do set "_!x!=%%a" & set /a x+=1
- for /f "delims=*" %%a in (a.txt) do (
- set /a r=!random!%%!x!
- echo;%_!r!%,%%a聊天论坛开通,欢迎%%a的朋友前来捧场!>>newtxt\%%a.txt
- echo;告诉大家一个好消息,期待已久的%%a聊天论坛备案成功已经开通了,欢迎%%a的朋友前来捧场,我们特地在%%a市中心设定一个团购接待点,届时期待%%a论坛通告!>>newtxt\%%a.txt
- )
复制代码
|