I have a batch file that is throwing a syntax error at a particular line.
@ECHO ON
CD %~dp0
SET XDA_HOME_DIR=%CD:~0,-4%
SET "JAVAHOME=%JAVA_HOME%"
SET XDA_CONFIG_PROPERTIES=%XDA_HOME_DIR%\config\xda-config.properties
IF "%JAVAHOME%"== ""(
ECHO JAVA_HOME not set
GOTO END)
Note: This is not the full script. I have posted just a part of it.
What is causing the syntax error message?
