ibi

zip serially numbered filesets

ibi
Jun 6th, 2014 (edited)
2,245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.23 KB | None | 0 0
  1. rem creates archive of filesets.
  2. rem i.e. blah01.log, blah02.log, blah03.log etc. will be compressed to blah.rar
  3. for /f "tokens=1* delims=0" %%G in ('dir /b *01.log') do c:\progra~1\winrar\rar.exe a -tl -df -m4 -s- %%G.rar %%G??.log
Add Comment
Please, Sign In to add comment