CODE: [Copy to clipboard]@echo off echo hello world echo press "y" to continue press "n" to exit set /p input= if %input% equ y ( goto yes ) else ( goto no ) :yes echo continue :no