- @echo off
- setlocal enabledelayedexpansion
- set var=abcdefghijklmnopqrstuvwxyz
- set num=%random% %% 26
- for /f %%i in (%var%) do (
- set a=!var:~!num!,1!
- set /a b=!var:~!num!+1,1!
- echo !a! !b!)
- pause
-
- 大侠们帮忙看一下.........小弟先谢了啊
复制代码
[ 本帖最后由 hanyeguxing 于 2011-1-16 13:27 编辑 ] |