本帖最后由 悬崖之树 于 2014-7-23 23:07 编辑
提示:把**替换成读音是dadao的那两个字!!- @echo off&setlocal enabledelayedexpansion
- mode con cols=50
- set "str=**帝国主义"
- for /l %%i in (1 1 6) do (
- set /a k=%%i-1
- call set "str%%i= %%str:~!k!,1%% "
- )
- for /l %%i in (0) do (
- for /l %%i in (1 1 6) do (
- set /a i=!random!%%7
- call set "ostr%%i=%%str%%i:~!i!,7%%"
- )
- echo.&echo. !ostr1!!ostr2!!ostr3!!ostr4!!ostr5!!ostr6!
- for /l %%i in (1 1 1000) do qdj 2>nul
- )
复制代码
|