fish 当前离线
中尉
@echo offfor /l %%i in (001,1,999) do ( if %%i lss 100 ( set /p"=0"<nul if %%i lss 10 ( set /p"=0"<nul ) ) echo %%i )pauseCOPY
TOP
jonm158 当前离线
列兵
jixun66 当前离线
上等兵
@echo offset /a a=%a%+1echo %a%if %a%==999 pause%0COPY
paladinjin 当前离线
@echo offfor /l %%i in (0,1,9) do ( for /l %%j in (0,1,9) do ( for /l %%k in (1,1,9) do ( set /p=%%i%%j%%k<nul )))pause>nulCOPY
leap 当前离线
三级士官
@echo offfor /l %%i in (0,1,9) do ( for /l %%j in (0,1,9) do ( for /l %%k in (0,1,9) do ( if %%i%%j%%k neq 000 (echo %%i%%j%%k))))>>1.txtpauseCOPY
原帖由 paladinjin 于 2010-8-19 16:06 发表 @echo off for /l %%i in (0,1,9) do ( for /l %%j in (0,1,9) do ( for /l %%k in (1,1,9) do ( set /p=%%i%%j%%knul
lvsehuaxue 当前离线
六级士官
edmond 当前离线
少尉
smallpigs 当前离线
@echo off for /l %%i in (1001 1 1999) do ( set "var=%%i" call echo %%var:~-3%%>>cal.txt )pauseCOPY
zsllq 当前离线
skuny 当前离线
@echo offfor /l %%i in (1 1 999) do (if %%i lss 10 (echo 00%%i) else (if %%i lss 100 (echo 0%%i) else echo %%i))pauseCOPY
ithinkican 当前离线