下面有一段这样的代码
set select=
set str1=1234567891011abc
set /p select= 输入数字或字母(大写),按回车:
if not defined select goto sc_wrong
echo %select%|findstr "[%str1%]">nul || goto sc_wrong
if %select%==1 (goto sc_o07)
if %select%==2 (goto sc_o08)
if %select%==A (goto sc_o09)
if %select%==B (goto sc_o10)