@echo off
REM ******************************************************************
REM File Name = ZEROSZ.BAT
REM Description = This batch file, receives 3 parameters:
REM     %1 = Drive where the EXE is installed
REM     %2 = Directory where the EXE is installed
REM     %3 = fully qualified path of the self extracting file, i.e. P.EXE
REM     %4 = package name that will be displayed to the user by zerosize
REM ******************************************************************
%1
cd %2
REM call the self extracting program with /O to overwrite
%3 /O
REM call zerosize to zero out packed file size if on Workstation
zerosize %3 %4
