I'm trying to make backup script, which archives my files, and then test if the archive is ok. That was the easy part. It looks like this:
"C:\Program Files (x86)\WinRAR\rar.exe" a -ep1 -r "D:\test_%date:~-4,4%%date:~-7,2%%date:~-10,2%_.rar" "D:\mybackup_18-05-2016.bak" -t
So now I have to use the rar test result, and if it says ALL OK
to delete the original *.bak files. Can you help the newbie please :)