Advertisement
GlobalAccessSoftware

just_externals.bat

Nov 16th, 2023
852
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.08 KB | Software | 0 0
  1.  
  2.  
  3. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  4. :: Split out to re-use and reduce repetition using a primary OOP.   ::
  5. :: I: & X: & H: are bk1, bk2, and bk3 respectively.                 ::
  6. :: set %destiny% to them and call this to re-use code & testOnce.   ::
  7. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  8. ::     Our destiny awaits! Our destiny is decided. Run Program!     ::
  9. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  10.  
  11. ::: RC6
  12. :externals
  13. ::set vers=v7.9.9.03 20221220055031 by -JpE-
  14. echo %time%
  15. echo .
  16. echo %sl%
  17. echo             ****  Syncing %oper% to %destiny:~1,2%  ****
  18. echo              %vers%
  19. echo %sl%
  20. echo .
  21. if %wipe% GTR 1 if %wipe% lss 4 del /f /s /q %destiny%"\"*.*
  22. xcopy %src%"\"*.* %destiny% /D /E /V /C /F /G /R /K /Y /Z /B /J
  23. echo .
  24. :: sets /a exit5=0 on each call here.
  25. if %errorlevel% neq 0 set /a exit5=1
  26. if %errorlevel% neq 0 goto return
  27.  
  28. echo %sl%
  29. echo             ***   Backup to %destiny:~1,2% Successful!   ***
  30. echo %sl%
  31. echo .
  32.  
  33. :return
  34.  
  35.  
  36.  
  37. :: 100% -JpE-
  38.  
  39.  
  40.  
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement