回复 4# Batcher
X- set /p QXADD=<\\192.168.20.201\anker\WJ\QXADD.txt
-
- set /p Q=<\\192.168.20.201\anker\WJ\p.txt
-
- echo 2222
- set number=1
-
- :be1
-
-
-
-
- if %number% equ 3(
- echo 99999
- ) else (
- set /a number+=1
- )
- @echo off&setlocal enabledelayedexpansion
- set "str=0 1 2 3 4 5 6 7 8 9 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 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"
- for %%a in (%str%) do set /a n+=1&set ".!n!=%%a"
- cls&set /p=请输入八位由数字和字母组成的密码,请注意大小写:<nul
- if defined pwds set /p=%pwds%<nul
- if "%m%" equ "8" echo.&echo.&goto next
- choice /n /cs /c %str: =%
- set "pwds=%pwds%*"&set "pwd=%pwd%!.%errorlevel%!"
- set /a m+=1&goto be1
- @echo on
- :next
-
- if "%pwd%" == "%Q%" goto QX1
- echo 7777
- goto be1
- pause
复制代码 请教下,为什么set number=1 这里提示语法错误 |