Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::: RC9
- @echo off
- set source="C:\WINDOWS\Tasks\"*.*
- set destin="D:\My WorkSpace\Backup Scheduled Tasks"
- set "caller=Defined"
- if not defined vers set "caller=Not %caller%"
- if not defined vers set vers=v8.7.0.02 20231006232214 by -JpE-
- set ttl=Backup Scheduled Tasks
- title %ttl% %vers%
- if not exist %source% or not exist %destin% echo OUCH! & goto exit
- echo . & echo %l1% & echo %ttl% %vers% & echo %l1% & echo .
- REM del /f /s /q %destin%"\"*.*
- xcopy %source% %destin% /D /V /C /F /G /R /K /O /X /Y /B /J
- echo . & echo Successful System Backup to External Drive! & echo .
- REM call "C:\Users\Daddio\Documents\AAA Sync2Laptop\Batch Files\A1-Sync.exe"
- :exit
- echo Goodbye now! Caller %caller%!
- if "%caller%" neq "Defined" pause & echo .
- rem if equ then it's outside caller. Skip pause.
- exit /b %errorlevel%
- ::: 100% -JpE-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement