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

F:
CD \NCMP

IF EXIST NCPTSTA.ZIP DEL NCPTSTA.ZIP
IF EXIST ZIP.LOG DEL ZIP.LOG

ECHO Creating NCPTSTA.ZIP > ZIP.LOG
ZIP -r NCPTSTA.ZIP RUN.LOG SUMMARY.TXT COMPARE.LOG OUT PUBOUT POSTNOV POSTPUB CMP >> ZIP.LOG

REM Cleanup is intentionally not performed here.  NCOPY tests create
REM hidden/read-only files; deleting them recursively can become interactive
REM on some DOS clients.  Re-run NCPTSTA to reset the fixed test tree.
CD \
ECHO.
ECHO ZIP step finished.
ECHO Check:
ECHO   F:\NCMP\NCPTSTA.ZIP
ECHO   F:\NCMP\ZIP.LOG
ECHO.
