Originally Posted By: lho

The following makes me mad:
Using OR to check for "0" or "-1" does not work, if the result is "-1".


Well... This one works.

 Code:
$RESULT = COMPAREFILETIMES (@LDrive +"\resources\file1.rtf","%appdata%\PATH\file1.rtf")

IF $RESULT = 0 OR $RESULT = 1
		MessageBox ("Now we are at THEN", "Box", 4160)
               	GOTO END
ELSE
        GOTO SKIP
	GOTO END	
ENDIF

:SKIP
MESSAGEBOX ("Now we are at ELSE", "Box", 4160)

:END
exit