
CODE: [Copy to clipboard][ Last edited by zw19750516 on 2008-5-4 at 10:42 PM ]@echo off&setlocal enabledelayedexpansion
if exist c.txt del /q c.txt
for /f "delims=" %%a in (a.txt) do set /a n+=1&set _!n!=%%a
set n=0
for /f "delims=" %%i in (b.txt) do call :lp %%i
start c.txt&goto :eof
:lp
set /a n+=1
echo !_%n%! %1>>c.txt
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |