Im not sure if you can help me but a friend refered me to these forums.
Im trying to create a simple text based maths tutor type program.
at the moment im trying to get a part of it so it asks a question (done)
you can input an answer (done)
then use an if statement to see whether the answer equals a set answer known as %test2% and if it does it runs a command (done)
however im having trouble with the FALSE part of the statement
where if it doesnt equal the correct answer it does a certain command.
here's the command im using,
pause> Press Enter to Continue
set %test2%=10
set /p test1=does, 5 + 5 = 10? (input)
if %test1%==10 echo q2.bat
if [not] %test1%==%test2% echo Bad Luck
any help will be appreciated
Legacy

*nods head cooly*