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 SolvedMS-DOS/Win95 setup Forum Error reading from drive A:DOS area: unknown command given to driver Forum Dos command to find acer aspire win xp aimdrs dat Forum Dos command errors with Windows 7 Forum May i know which version of MS-DOS Win 95 is running? Forum HELP .....installing win 95 from ms-dos Forum What are DOS commands for restore win xp? Forum Printer error WIN XP/DOS Forum Win2K DOS commands ? Forum Win95 installation error after restart? Forum Windows Protection Error while installing Win 95 Forum IBM TP Win 95 fatal error plus Forum Win95 Protection Error Forum Fatal Error Upon Boot in Win95 Forum WIN 95 start up error Forum Fatal exception error when installing Win95!! Forum New Computer; BSOD, Prime95 fails and variur errors. (Win7, i5 3570K) Forum CD ROM errors on Win95 Forum More resources !