@echo off&setlocal enabledelayedexpansion
for /f "tokens=1,2* delims=: " %%i in (1.txt) do (
set/a n+=1,m+=1&set han_%%i=%%j
set/p=%%i:%%j <nul
if !m!==4 set m=0&echo.)
echo.
:ye
set/p p=请输入代码,0为继续下一个步骤
if %p%==0 goto :gu
call echo.%%han_!p!%%
goto :ye
:gu
pause
set/p=%%i:%%j <nul中间的连续空格为一个制表符
Last edited by Hanyeguxing on 2010-4-21 at 19:25 ]