联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
@echo off set list%=0 1 2 3 4 5 6 7 8 9 A B C D E F for %%a in (%list%) do ( for %%b in (%list%) do ( for %%c in (%list%) do ( for %%d in (%list%) do ( for %%e in (%list%) do ( for %%f in (%list%) do ( for %%g in (%list%) do ( for %%h in (%list%) do ( echo.%%a%%b%%c%%d-%%e%%f%%g%%h&pause ) ) ) ) ) ) ) ) )
Originally posted by lxmxn at 2008-7-9 10:45 PM: 这个要看你分成几台电脑运行了,可以将最外层的循环拆分成8个或者十六个,分别给8或者16台机器运行,每台只负责后面的7位。
Originally posted by chishingchan at 2008-7-14 13:27: 请教版主具体代码如何?
@echo off set list%=0 1 2 3 4 5 6 7 8 9 A B C D E F for %%b in (%list%) do ( for %%c in (%list%) do ( for %%d in (%list%) do ( for %%e in (%list%) do ( for %%f in (%list%) do ( for %%g in (%list%) do ( for %%h in (%list%) do ( echo.A%%b%%c%%d-%%e%%f%%g%%h&pause ) ) ) ) ) ) ) )