联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
@echo off&Setlocal EnableDelayedExpansion set b=0 copy nul result.txt 2>nul 1>nul for /f %%a in (1.txt) do ( set a!b!=%%a set /a b+=1 ) set b=0 for /f %%b in (2.txt) do ( set b!b!=%%b set /a b+=1 ) set /a d=%b%-1 for /l %%c in (0,1,%d%) do ( set /a c=a%%c+b%%c echo=!c! >>result.txt echo=!c! ) start result.txt exit/b0
Originally posted by meteor1982 at 2007-1-18 01:16: 那怎么样才可以实现我的功能么?