『第
2 楼』:
@echo off&setlocal enabledelayedexpansion
for /l %%i in (1,1,80) do set "kong=!kong! "
set "_1=%kong:~,40%○"&echo !_1!
set "_2=%kong:~,38%○ ○"&echo !_2!
for /l %%i in (3,1,21) do (
set /a num+=1
call,set "str=○%%kong:~,!num!%%○%%kong:~,!num!%%○"
set "var=!str!%kong%"
set "var=!var:~,80!"
call :lp
set "_%%i=!var:~1!!str!"&echo !_%%i!
)
set /p=%kong:~,18%<nul&for /l %%i in (1,1,23) do set /p=○<nul
echo.&for /l %%i in (21,-1,1) do echo !_%%i!
pause>nul&goto :eof
:lp
set "var=!var:%str%=!"
set "var=%var: = %" [ Last edited by bat-zw on 2008-8-1 at 01:36 PM ]
|