CODE: [Copy to clipboard]@echo off set /p str=我在提示你输入字符(y/n) if "%str%" equ "y" ( start a.exe ) else if "%str%" equ "n"( start b.exe )