Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::: RC8 Update. :::
- :: /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\
- :: ReVision 2: Split out and modified. While creating the //
- :: RunTime interface with both SyncOlderPhotos && AAA-Sync \\
- :: :: DON'T MIX UP THE TWO MODS! reuse runtime & exit_main //
- :: set /a vers=v7.9.5.50 Gato: TESTWELL! <==<< <==<< <==<< \\
- :: \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\//
- if not defined vers set vers=v8.5.7.86 20230816013412 by -JpE-
- :runt
- title %ttl%
- ::: ***New Rev! single line change (see below for details)
- call :pops
- echo .
- if exist %fileo% if exist %smsg% call %smsg%
- if exist %fileo% echo .
- if exist %fileo% del /f /s /q %fileo%
- if exist %fileo% echo .
- echo .
- set runt="%bats%\runtime_display.bat"
- if not exist %runt% echo %runt% cannot be found!
- ::
- if exist %runt% call %runt%
- ::
- :: See modifications in runtime_display.bat!
- if %review% geq 1 goto hangon
- :exit3
- set ty1=300
- REM & set /a errorlevel=0
- if %override1% equ 1 set ty1=15
- echo .
- set msg=">>===> S)tart Again? Q)uit? or P)ause? (sQp): "
- choice /c sqp /n /t %ty1% /d q /m %msg%
- echo .
- echo %l2%
- if %errorlevel% equ 1 goto start
- if %errorlevel% equ 2 goto return
- :hangon
- echo .
- :: implicit %errorlevel% equ 3 (pause)
- if %review% neq 1 set /a review=%errorlevel%
- if %review% gtr 0 pause
- if %review% gtr 0 echo .
- if %review% gtr 0 echo %l2%
- if %review% gtr 0 echo .
- if %review% gtr 0 pause
- if %review% gtr 0 echo .
- if %review% gtr 0 echo %l2%
- set /a review=0
- goto exit3
- ::: pops is new to the code and code file.
- :pops
- if not defined bats echo WELL FUCK! & pause & exit /b 10101
- set fn="%bats%\backupschdltsks-A.bat"
- set f2="%bats%\SyncronizeMatchedFiles.bat"
- :::
- if exist %fn% call %fn%
- echo .
- if %errorlevel% neq 0 (
- echo Error in Scheduled Tasks Backup!) else (
- echo Scheduled Tasks Backed Up! )
- echo .
- :::
- if exist %f2% call %f2%
- echo .
- if %errorlevel% equ 0 (
- echo Matched Files Error in Sync File Backup. ) else (
- echo Matched Files Sync'ed!)
- echo .
- :::
- exit /b %errorlevel%
- :start
- set /a exit2=4
- :return
- REM exit /b %errorlevel%
- ::: 100% -JpE-
Add Comment
Please, Sign In to add comment