FWGS efforts to continue maintaining Paranoia 2 source code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
944 B

  1. @echo off
  2. color 4F
  3. echo XashXT Group 2006 (C)
  4. echo Prepare source for backup
  5. echo.
  6. if exist backup.log del /f /q backup.log
  7. if not exist D:\Paranoia2\!backup/ mkdir D:\Paranoia2\!backup\
  8. echo Prepare OK!
  9. echo Please wait: backup in progress
  10. C:\Progra~1\WinRar\rar a -agMMMYYYY-DD D:\Paranoia2\!backup\.rar -dh -m5 @backup.lst >>backup.log
  11. if errorlevel 1 goto error
  12. if errorlevel 0 goto ok
  13. :ok
  14. cls
  15. echo Source was sucessfully backuped
  16. echo and stored in folder "backup"
  17. echo Press any key for exit. :-)
  18. if exist backup.log del /f /q backup.log
  19. exit
  20. :error
  21. echo ******************************
  22. echo ***********Error!*************
  23. echo ******************************
  24. echo **See backup.log for details**
  25. echo ******************************
  26. echo ******************************
  27. echo.
  28. echo press any key for exit :-(
  29. pause>nul
  30. exit