- @echo off
- Setlocal enabledelayedexpansion
- ::简易密码登录
- ::CODER BY Lornan POWERD BY iBAT 1.6
- :try-again
- cls
- set /p password=请输入密码并按回车继续:
- if "%password%"=="bathome-Lornan" (
- echo.你输入的的密码%password%与正确密码符合。
- echo.&pause>nul
- cls
- echo.登陆成功!!
- ) else (
- echo.你输入的密码%password%与正确密码不符&pause>nul
- set password=
- call :try-again
- )
- pause>nul
- cls
复制代码
|