@ECHO OFF
REM WHOZIP.BAT
REM Optional packer for WHOSTA result files.
REM Requires ZIP.EXE in PATH or current directory.

F:
CD \WHOCMP

IF EXIST WHOSTA.ZIP DEL WHOSTA.ZIP
IF EXIST ZIP.LOG DEL ZIP.LOG

ECHO Creating WHOSTA.ZIP > ZIP.LOG
ZIP -r WHOSTA.ZIP RUN.LOG SUMMARY.TXT COMPARE.LOG OUT PUBOUT >> ZIP.LOG

CD \
ECHO.
ECHO ZIP step finished.
ECHO Check:
ECHO   F:\WHOCMP\WHOSTA.ZIP
ECHO   F:\WHOCMP\ZIP.LOG
ECHO.
