topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 4:59 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Creating batch archive.  (Read 11825 times)

foxtrot1213

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Creating batch archive.
« on: October 30, 2008, 01:03 PM »
So I am copressing the files and splitting them in parts:

For example MyVideo.avi (800MB) is splitted into:

MyVideo.part1.rar (100MB)
..
...
...
MyVideo.part8.rar (100MB)

I would like to do this to all avi files in a folder. And I would like to test the archives as well
How can I do this? Because right now, I am doing these compressions manually which takes sometime :(

Thanks in advance

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Creating batch archive.
« Reply #1 on: November 05, 2008, 05:32 AM »
foxtrot, this is the kind of thing Drag and Drop Robot is good at.
What you'll have to figure out is what the commandline options are in winrar to compress and split and then just create a new job.
Then just drag your avi files into the window and go.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Creating batch archive.
« Reply #2 on: November 05, 2008, 08:36 PM »
you have to run two separate commands - one to archive & another to test.

from helpfile of Winrar..
•  WinRAR  a -v100mb <archivename> <MyVideo.avi>
•  WinRAR  t <foldername>\*.rar

bodo75

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Creating batch archive.
« Reply #3 on: February 07, 2009, 03:06 AM »
Hey foxtrot1213

try this:

C:\Program Files\WinRAR\Rar.exe A -t -v98078 "%A.rar" "%NO"

(the -t tests the archive at the end)

You will have to drag the files in the window and not the directory tho...

But winrar can do it itself..

Just highlight all the files, right click - add to archive... set your preferences in the first tab... then do check the below box in the "files" tab:

http://img214.imageshack.us/img214/5057/winrarxd5.jpg
Creating batch archive.








That a