@ECHO OFF set errmsg="Missing_Files!" if exist "%1taubeta.exe" GOTO error2 if not exist "taubeta1" set errmsg=%errmsg%+"taubeta1" copy /b /v "taubeta1" "%1taubeta.exe" if not exist "taubeta2" set errmsg=%errmsg%+"taubeta2" copy /b /v "%1taubeta.exe"+"taubeta2" "%1taubeta.exe" if not exist "taubeta3" set errmsg=%errmsg%+"taubeta3" copy /b /v "%1taubeta.exe"+"taubeta3" "%1taubeta.exe" if %errmsg% == "Missing_Files!" GOTO good ECHO %errmsg% if exist "%1taubeta.exe" erase "%1taubeta.exe" GOTO notfound :good ECHO Done, taubeta.exe restored. GOTO end :error ECHO No file specified. GOTO end :error2 ECHO File taubeta.exe Already Exists. GOTO end :notfound ECHO File(s) Missing. Restore ABORTED! GOTO end :end ECHO ON