先来抛砖,没啥新意。- :?^~!#$%^&*()='"><|/@\
- @echo off
- set/p str=<%~fs0
- setlocal enabledelayedexpansion
- for /l %%a in (1 1 10) do (
- for /l %%i in (1 1 30) do (
- set/a n=!random!%%22
- call :lp
- )
- echo !var!&set "var="
- )
- pause>nul&exit/b
- :lp
- set "var=!var!!str:~%n%,1!"
复制代码
[ 本帖最后由 pusofalse 于 2008-9-7 18:18 编辑 ] |