1.

Solve : or in an if statment [please help]?

Answer»

how do i say or in this type of way so it is like this if my input = this or this :-? :-? :-?
Code: [Select]IF %input% EQU this or this (
GOTO start
) ELSE (
goto end
)Try this

IF %input% EQU this goto start
IF %input% EQU that goto start

goto end

Grahamtry this: if "%input%"=="thisorthat" goto thisorthat
if not goto blablaSometime it HELS to invert the logic, i.e.:

IF "%input%" [HIGHLIGHT]NEQ[/highlight] "this" IF "%input%" [highlight]NEQ[/highlight] "that" goto end
rem start here...


DOS IT HELP?



Discussion

No Comment Found