Just a note for the future when there is another need to use WinRAR to backup files at work. Next time I won't have to read RAR document again. (I will post the similar purpose script for using 7-Zip instead of WinRAR at my last work). Script as BAT: ECHO OFF SETLOCAL @ECHO BEGIN to backup files "C:\Program Files\WinRAR\rar.exe" a -m5 -ag{<file_prefix>}YYYYMMDD-NN "<target path>" "<source path>" @ECHO ZIP END ENDLOCAL