CHOICE command error in win 95 dos Tags: Command Prompt IBM ThinkPad Windows Last response: January 20, 2012 3:55 AM in Windows 95/98/ME Share TheDriftCore January 20, 2012 12:07:08 AM Hello, I'm trying to write a batch file on my 95 IBM thinkpad, just to test my current programming abilities. so far I have: @ECHO OFF :MENU ECHO is this working CHOICE /C12 if errorlevel 1 goto HELLO if errorlevel 2 goto GOODBYE :NOTREALLY ECHO Not really pause goto MENU :HELLO ECHO YES 1 pause goto MENU :GOODBYE ECHO yes 2 pause goto MENU It is supposed to as the user for a choice (1,2), if you press 1 it's supposed to say YES 1, press 2 and it should say yes 2, if it doesn't recognize the choice it's supposed to say not really. so far, it will ask me for a choice ( it will say [Y,N]?) but no matter what I put down, it will only say YES 1, even if I input 2 (where I want it to say yes 2). any help with debugging this program or finding alternatives to allow users to put their input into a variable would be greatly appreciated (set /p variable= does not work in dos in my experience). I just started trying to program things yesterday so I apologize for my ignorance on this topic. More about : choice command error win dos PhilFrisbie January 20, 2012 3:55:02 AM It should be: CHOICE /C:12 Can't find your answer ? Ask ! Publish Related resources windows 95 b -- cd-rom in dos -- correct ng? Forum HELP .....installing win 95 from ms- dos Forum MS- DOS/Win95 setup Forum Dos command copy a:\1.dca d: Forum FILE CORRUPTED: WIN .COM NEED COMMAND TO REBOOT Forum Upgrading an old laptop from win95 to win 98. Forum AT&T Globalyst 380TPC Win 95 (installed new 4gigHD) Forum How to transfer dos file to windows 7 Forum Error running an old DOS programme Forum I can't get game for win95 msdos to install. Forum Windows 95 on a New Computer? Forum How to start only on dos program in Windows 95 Forum Starting Windows from a DOS Command Line Forum DOS subst command Forum Can't fresh install Win 95 on new HD Forum Need Help. Welcome to ASUS motherboard make disk for dos menu Forum [Help] Error while installing win 7 Forum "NTLDR is missing" windows 95 Forum The error code is 8192 for windows 98 Forum My lab top will not boot-up i get an error message "wintt system32 config system Forum More resources !