CODE: [Copy to clipboard]@echo off echo 请输入密码: set /p "password=" if "%password%" equ "mangyuan" ( echo 密码正确 ) else ( echo 密码错误 )