ECHO OFF : This batch file will check all files in the current directory comparing : them with information stored on a report file "))A.LOG" in that directory. CHKfileC *.* ))B.log/D/I:)) CFcompC ))A.log ))B.log/P IF ERRORLEVEL 4 goto CHANGES DEL ))B.LOG goto END :CHANGES DEL ))A.LOG REN ))B.LOG ))A.LOG :END