CODE: [Copy to clipboard]@echo off set /p select=请选择(y/Y继续,其他任意键退出) if /i "%select%" neq "y" goto :eof 下面是要运行的命令