home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pcmagazi / 1990 / 03 / scandird.bat < prev    next >
DOS Batch File  |  1989-06-17  |  324b  |  13 lines

  1. ECHO OFF
  2. : This batch file will check all files in the current directory comparing
  3. : them with information stored on a report file "))A.LOG" in that directory.
  4. CHKfileC *.* ))B.log/D/I:))
  5. CFcompC ))A.log ))B.log/P
  6. IF ERRORLEVEL 4 goto CHANGES
  7. DEL ))B.LOG
  8. goto END
  9. :CHANGES
  10. DEL ))A.LOG
  11. REN ))B.LOG ))A.LOG
  12. :END
  13.