@echo off IF NOT EXIST pln70.001 GOTO ERROR IF NOT EXIST pln70.002 GOTO ERROR IF NOT EXIST pln70.003 GOTO ERROR IF NOT EXIST pln70.004 GOTO ERROR IF NOT EXIST pln70.005 GOTO ERROR copy /b pln70.001+pln70.002+pln70.003+pln70.004+pln70.005 pln70.zip > nul IF EXIST pln70.zip ECHO File pln70.zip is generated. GOTO END :ERROR ECHO Missing file! Make sure you have downloaded all the 00x files. PAUSE :END