How do I implement boolean AND and OR operators in if commands in msdos batch files ? The following does NOT work: if (condition1) || (condition2) (GOTO CHECKLABEL) It yields: "|| was not expected at this time" Bernd