From this website, the OP has noticed a problem.
Consider the following code snippet.
if 1==1 ( set /a result = 2*(3+4) )
At your first glance, you may think
CMD.exe would process it like so:
CMD.exe process like so:
)after 4 is processed at the end of
The second step would return
Unbalanced parentheses error.
According to a German CMD.exe's
set /?, we would need to quote arithmetic operations. Here's an example.
By the way, according to an English CMD.exe
set /?, quotes are required if logical or modulus operators are present in the expression(although this is not a must-do step).