@echo off echo Welcome echo Press Y or N choice /C:YN if errorlevel 1 goto yes if errorlevel 2 goto no :yes echo You pressed Y! pause goto quit :no echo You pressed N! pause goto quit :quit exit
Okay, now at first the "choice" wouldn't work at all, so I downloaded CHOICE.COM from Microsoft, and now it works. However, no matter whether I press Y or N, it goes to "yes"! Why won't it go to "no"?