The following is a piece of code. Enter the correct password 123456 to enter the password modification. Please write the one who is good at modifying their own password: 123456
@echo off
chcp 437>nul&graftabl 936>nul
echo hP1X500Pf3/f1/5++u5x>in.com
set /p password=Please enter password:<nul
for /f "tokens=*" %%i in ('in.com') do set password=%%i
del in.com
echo.
if /i "%password%"=="123456" goto 密码修改
echo Wrong password: "%password%"
echo The program will automatically exit after 3 seconds.
ping -n 3 127.0.0.1>nul
exit
:密码修改
cls
echo Please complete the modification of the 123456 password
pause
@echo off
chcp 437>nul&graftabl 936>nul
echo hP1X500Pf3/f1/5++u5x>in.com
set /p password=Please enter password:<nul
for /f "tokens=*" %%i in ('in.com') do set password=%%i
del in.com
echo.
if /i "%password%"=="123456" goto 密码修改
echo Wrong password: "%password%"
echo The program will automatically exit after 3 seconds.
ping -n 3 127.0.0.1>nul
exit
:密码修改
cls
echo Please complete the modification of the 123456 password
pause
