- @echo off&setlocal enabledelayedexpansion
- for /l %%n in (1,1,10) do (
- if !flag! equ 1 (set "a=77,-1,1") else (set "a=1,1,77")
- for /l %%i in (!a!) do (
- call :blank %%i
- set/p=f <nul
- call :back
- )
- call :back & call :blank 79
- echo.& set /a flag=%%n %% 2
- )
- pause>nul&exit
- :back
- for /l %%k in (1 1 79) do (set/p=<nul)
- goto :eof
- :blank
- for /l %%k in (1 1 %1) do (set/p= <nul)
- goto :eof
复制代码
[ 本帖最后由 foxJL 于 2008-1-3 00:56 编辑 ] |