Use RAR+*.BAT to backup at work

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

留言

這個網誌中的熱門文章

Excel技巧(1):檔案肥大的原因,附上減肥撇步

Excel技巧(2):拜託殺了那些看不見的空白吧!

Excel版本與檔案格式