| @echo off & setlocal EnableDelayedExpansion | | set strs=aA1一bB2二cC3三dD4四eE5五fF6六gG7七hH8八iI9九 | | :loop | | set str=!strs:~0,4! | | for /l %%i in (0,1,3) do ( set "str%%i=!str%%i!!str:~%%i,1!" ) | | set strs=!strs:~4! | | if defined strs ( goto :loop ) | | for /l %%i in (0,1,3) do ( echo !str%%i! )COPY |
|