本帖最后由 batman 于 2011-4-17 18:40 编辑
要不就只能这样:- @echo off&setlocal enabledelayedexpansion
- set "tab= "
- for /l %%a in (1,1,22) do set "t=!t!"
- for /l %%a in (1,1,80) do set "tg=!tg! "
- echo,&echo ┌───────────────────┐
- echo,&echo └───────────────────┘
- for /l %%a in (1,1,20) do (
- echo %tab%%t% 2>nul&set /p= <nul
- set /a a=%%a00/20
- set "a= !a!"&set "a=!a:~-3!"
- for /l %%b in (1,1,%%a) do set /p=■<nul
- for /l %%b in (1,1,1000) do echo>nul
- if %%a neq 20 set /p=%tg%<nul
- echo,&echo,&set /p= !a!%%<nul
- for /l %%b in (1,1,1000) do echo>nul
- if %%a neq 20 set /p=%tg%<nul
- )
- pause>nul
复制代码
|