anchor.diff:  
   :log
   rem  .
  +rem %date%   ( )
  +rem %time%   ( )
   echo %date% >> %logfile%
   echo %time% >> %logfile%
   echo %result% >> %logfile%
   echo ... >> %logfile%
   
  -rem          
  +rem       
  +::     
   if exist %CurrentDisk%\%date%.rar (del %CurrentDisk%\%date%.rar /Q)
   
   rem   
   forfiles /P %backup% /M *.rar /D -%NumberArchives% /C "cmd /c del /q @path"
   
  +rem      
  +::    
  +::  
   chcp 866 >nul
  +
  +rem  
   rem exit
positive.code: set source=D:\1C\Base
  rem        
  set backup=E:\backup-1C
  rem    WinRar
  set archive="C:\Program Files\WinRAR\RAR.EXE"
  rem   (   ).
  set logfile=%backup%\backup.log
  rem    .
  
negative.code: rem   
  rem echo off
  rem   
  chcp 1251 >nul
  rem  
  goto start
  --------------------------------------
     
  