REM *******************************************
REM * Backup example script *
REM *******************************************
REM * This script shows how to backup files *
REM * using console RAR archiver *
REM * (http://www.rarlabs.com). *
REM *******************************************
SET APATH="c:\Program Files\Dr.Batcher"
REM Firt we have to delete previos backup copy
DEL %APATH%\Backup.rar
REM Run the archiver
rar a -rr5%% -s -t %APATH%\Backup.rar %APATH%\*.*
REM That's all!
ECHO Press Enter!
PAUSE
EXIT
