@echo off cls REM %1 is the cdrom drive letter. must include the colon REM %2 is the name of the zip file. this MUST include the zip extension REM %3 is the destination of the zip. must be the full dos path pkunzip %1/pcblue/%2 %3 echo . echo . echo . if errorlevel 50 goto fullup if errorlevel 10 goto path if errorlevel 9 goto wrongname if errorlevel 4 goto memory if errorlevel 2 goto oops goto stp :fullup echo THE DESITINATION DISC IS FULL!! goto endit :path echo YOU HAVE SPECIFIED A BAD PATH OR DRIVE!! goto tryagin :wrongname echo NO ZIP FILE BY THAT NAME!! goto endit :memory echo THERE IS INSUFFICIENT MEMORY TO OPEN THIS VOLUME!! goto endit :oops echo CHECK THE UNZIPPED FILE CAREFULLY. THERE IS AN UNDEFINED ERROR OR WARNING! pause goto stp :endit echo YOU MUST TRY AGAIN. pause goto stp :tryagin echo THE CORRECT COMMAND LINE IS AS FOLLOWS: echo BLUE D: VOL001.ZIP C:\TEST echo -------- echo WHERE D: is the CDROM drive. echo -------- echo WHERE VOL001.ZIP: is the desired volume. echo -------- echo WHERE C:\TEST is the full path to where you want the volume placed. echo -------- pause :stp echo on