This doesn't work ("incorrect syntax error"):
@ECHO OFF
SET /p type="[1] 32bit [2] 64bit [3] 32+64bit: "
if %type% == 1
(
REM Do something here
REM Do something here
)
I thought it was correct, according to the question How to use if - else structure in a batch file?
What's wrong?