Batch files - The IF command: Windows NT 4/Windows 2000 Syntax
Performs conditional processing in batch programs. IF [NOT] ERRORLEVEL number command IF [NOT] string1==string2 command IF [NOT] EXIST filename command NOT Specifies that Windows should carry out the command only if the condition is FALSE ......