- @echo off &setlocal enabledelayedexpansion
- color 0a
- set hang= i like the batman,because he is the hero of the world.
- set /a a=0,b=0
- for %%a in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
- set /a a+=1
- set n!a!=%%a
- )
- for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do (
- set /a b+=1
- call,set zimu=%%n!b!%%
- call,set hang=%%hang:%%a=!zimu!%%
- )
-
- :a
- set /a c+=1
- ping -n>nul
- set /p=!hang:~%c%,1!<nul
- if not "!hang:~%c%,1!"=="" goto :a
- echo,
- pause
复制代码
[ 本帖最后由 523066680 于 2008-8-13 14:55 编辑 ] |