Could someone tell me why this is not working.The rest of the script runs properly bu it skips over this part.

$Result = CompareFileTimes(@LDRIVE + "\newdat\scan.dat", "c:\progra~1\common~1\networ~1\viruss~1\4.0.xx\scan.dat")

IF $Result = 1 OR $Result = -3
COPY @LDRIVE + "\scan.dat" "c:\progra~1\common~1\networ~1\viruss~1\4.0.xx\scan.dat" /h

------------------