@echo off rem Binary File Name rem ================================= set BINARYNAME=AdventNet_WebNMS_5_Windows_Professional.exe rem Join all splitted files into a single binary file rem ================================= if exist %BINARYNAME% goto targetfileexist if not exist AdventNet_WebNMS_5_Windows_Professional_1.exe goto filenotfound1 if not exist AdventNet_WebNMS_5_Windows_Professional_2.exe goto filenotfound2 if not exist AdventNet_WebNMS_5_Windows_Professional_3.exe goto filenotfound3 copy /b AdventNet_WebNMS_5_Windows_Professional_1.exe + AdventNet_WebNMS_5_Windows_Professional_2.exe + AdventNet_WebNMS_5_Windows_Professional_3.exe %BINARYNAME% if %errorlevel% NEQ 0 goto copyerror if not exist %BINARYNAME% goto copyerror echo %BINARYNAME% is created. Double-click on %BINARYNAME%to install the product. pause goto end :copyerror echo Error while creating %BINARYNAME% pause goto end :targetfileexist echo File %BINARYNAME% already exists pause goto end :filenotfound1 echo File AdventNet_WebNMS_5_Windows_Professional_1.exe not found. pause goto end :filenotfound2 echo File AdventNet_WebNMS_5_Windows_Professional_2.exe not found. pause goto end :filenotfound3 echo File AdventNet_WebNMS_5_Windows_Professional_3.exe not found. pause goto end :end