Advertisement
GlobalAccessSoftware

backupschdltsks-A.bat

Nov 16th, 2023
625
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.90 KB | Software | 0 0
  1.  
  2.  
  3.   ::: RC9
  4.  
  5.   @echo off
  6.   set source="C:\WINDOWS\Tasks\"*.*
  7.   set destin="D:\My WorkSpace\Backup Scheduled Tasks"
  8.  
  9.   set "caller=Defined"
  10.   if not defined vers set "caller=Not %caller%"
  11.   if not defined vers set vers=v8.7.0.02 20231006232214 by -JpE-
  12.   set ttl=Backup Scheduled Tasks
  13.   title %ttl% %vers%
  14.   if not exist %source% or not exist %destin% echo OUCH! & goto exit
  15.   echo . & echo %l1% & echo   %ttl% %vers% & echo %l1% & echo .
  16.  
  17.   REM del /f /s /q %destin%"\"*.*
  18.   xcopy %source% %destin% /D /V /C /F /G /R /K /O /X /Y /B /J
  19.   echo . & echo Successful System Backup to External Drive! & echo .
  20.  REM call "C:\Users\Daddio\Documents\AAA Sync2Laptop\Batch Files\A1-Sync.exe"
  21. :exit
  22.   echo Goodbye now! Caller %caller%!
  23.   if "%caller%" neq "Defined" pause & echo .
  24.  rem if equ then it's outside caller. Skip pause.
  25.   exit /b %errorlevel%
  26.  
  27.  
  28.  
  29.     ::: 100% -JpE-
  30.    
  31.    
  32.    
  33.    
  34.  
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement