Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- :: Split out to re-use and reduce repetition using a primary OOP. ::
- :: I: & X: & H: are bk1, bk2, and bk3 respectively. ::
- :: set %destiny% to them and call this to re-use code & testOnce. ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- :: Our destiny awaits! Our destiny is decided. Run Program! ::
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- ::: RC6
- :externals
- ::set vers=v7.9.9.03 20221220055031 by -JpE-
- echo %time%
- echo .
- echo %sl%
- echo **** Syncing %oper% to %destiny:~1,2% ****
- echo %vers%
- echo %sl%
- echo .
- if %wipe% GTR 1 if %wipe% lss 4 del /f /s /q %destiny%"\"*.*
- xcopy %src%"\"*.* %destiny% /D /E /V /C /F /G /R /K /Y /Z /B /J
- echo .
- :: sets /a exit5=0 on each call here.
- if %errorlevel% neq 0 set /a exit5=1
- if %errorlevel% neq 0 goto return
- echo %sl%
- echo *** Backup to %destiny:~1,2% Successful! ***
- echo %sl%
- echo .
- :return
- :: 100% -JpE-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement