June 9, 200422 yr IF NOT A EQU B (IF NOT B EQU C (GOTO END) ELSE (GOTO BC) ELSE (GOTO AB)That won't work. The ELSE needs to be on the same line as the IF statement.
June 9, 200422 yr Me, I always respected Groucho Marx for his one-liners ... IF NOT "%A%"=="%B%" IF NOT "%C%"=="%D%" GOTO BAR
June 9, 200422 yr uhm, try doing an if /? in cmd before saying that else has to be on same line as if
June 9, 200422 yr uhm, try doing an if /? in cmd before saying that else has to be on same line as ifI stand corrected, but your command is still incorrect. You are missing a )
Create an account or sign in to comment