zhaofeng0420 当前离线
列兵
:START CLS @ECHO OFF SET STR=AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYy, SET /P START=PRESS A KEY: ECHO. ECHO %START%|FINDSTR "[^^%STR%]">nul && echo 含有非法字符!只允许输入字母A-Za-z和,(英文逗号)。 && PAUSE>NUL && GOTO START ECHO 您输入的是:%START% PAUSE>NUL&GOTO START复制代码
/zhqsystem/zhq 当前离线
中尉
TOP
:START CLS @ECHO OFF SET STR=AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYy, SET /P START=PRESS A KEY: ECHO. SET "START=%START:"=""%" SET "START=%START:<= %" SET "START=%START:>= %" SET "START=%START:&= %" SET "START=%START:|= %" ECHO %START%|FINDSTR "[^^%STR%]">nul && echo 含有非法字符!只允许输入A-Za-z和,(英文逗号)。 && PAUSE>NUL && GOTO START ECHO 您输入的是:%START% PAUSE>NUL&GOTO START复制代码