- @echo off
- set "str=0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`[]\;',./<>?:"{}^|~!@#$%%^^^&*()"
- setlocal enabledelayedexpansion
- for /l %%l in (1,1,200) do (
- if not defined n if "!str:~%%l,1!" equ "" (
- set n=%%l
- for /l %%o in (1,1,10) do (
- for /l %%k in (1,1,8) do (
- set /a m=!random! %% !n!
- for %%j in (!m!) do (
- set "str2=!str2!!str:~%%j,1!"
- )
- )
- echo !str2!
- set str2=
- )
- )
- )
- endlocal
- pause
复制代码
|