- @echo off&setlocal enabledelayedexpansion
- for /f "delims=" %%a in (a.txt) do (
- set k=%%a
- for /l %%b in (0,1,80) do (
- set j=!k:~%%b,1!
- for %%c 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 if !j!==%%c set xiao=!xiao!%%c&set _!j!=1
- for %%d 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 if !j!==%%d set da=!da!%%d
- for /l %%e in (0,1,9) do if !j!==%%e set shu=!shu!%%e&set _!j!=1
- if not defined _!j! set zhong=!zhong!!j!
- )
- )
- echo;!xiao!&echo;!da!&echo;!shu!&echo;!zhong!
- pause
复制代码
|