|unbalanced ( ), I believe. Looking at your code, add one for every "(", and subtract one for every ")". If your end result is not zero, you have an open (unmatched) parenthesis. for example: starting with your first (|
if /i "%cmd%"=="continue" ( <--- first par, "one"
count "(" = one.
now count the rest:
if %temp1%==0 ( plus one, total: two
echo MenuL49 >> %cd%\Blackbox\Crashreport.txt
echo NO SAVE DATA
) minus one, total: one
so you have one, instead of zero, hence the error.
if /i "%cmd%"=="continue" (
if %temp1%==0 (
) <------- add this parenthesis, (i think)
Sometimes () can really foul you up if you use : instead of ::
I learned the hard way, use "rem" or "::" for comments. If you use ":", and
it has a parenthesis, you will suffer the wrath of SINTAX.