i have a batch script like this:
@echo off
setlocal
some commands to set variable %equal%
if %equal%==no (
some commands to set variable %equall% (including a call to a separate batch file)
if %equall%==no (
other commands (including a call to a separate batch file)
)
) else (
echo nothing new
)
endlocal
exit /b
But i getting this error (translated from spanish, so it can be innacurate): "(" was not expected at this moment
on the first if sentence.
However, if i remove the inner if condition, it runs fine....
What am i missing?