- @echo off&setlocal enabledelayedexpansion
- set "str=0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
- for /l %%i in (0 1 46655) do (
- set /a "m=%%i/36,c=%%i%%36,b=m%%36,a=(m/36)%%36"
- for /f "tokens=1-3" %%a in ("!a! !b! !c!") do (
- echo !str:~%%a,1!!str:~%%b,1!!str:~%%c,1!
- )
- )
- pause
复制代码
|