This is one of the more obscure Windows batch errors I've received.
In a batch file (first and only line of code):
CALL IF "%1"=="" (ECHO TRUE) ELSE (ECHO false)
returns
',' is not recognized as an internal or external command,
operable program or batch file
I realize that this is not the best way to call an if statement, but does anybody know what the interpreter is trying to do?
By the way, this works from the command prompt as well, and what the if
is testing seems to be irrelevant. Whatever is happening seems to by invoked by CALL IF