Using WinRAR command line utility

Discussion in 'Computer Support' started by Colby_, Mar 10, 2010.

  1. Colby_

    Colby_

    Joined:
    Mar 10, 2010
    Messages:
    1
    Hi guys, I was told this is a good place to get help with computer related issues so I'm comig to you with a problem :p

    I'm a Java programmer, and in one of my programs (Instead of re-inventing the wheel) I'd like to use WinRAR's command line utility to extract a multi-part archive. Thing is I can't find any documentation on how to do so. Does anyone know?

    By the way is any of you are programmers heres my code just to give you an idea:
    Code:
        public static void decompress(String destFolder, String... fileNames) throws IOException, InterruptedException {
            StringBuilder cmdBuild = new StringBuilder("rar/unrar.exe;e;-r;-ep2;");
            for(String s : fileNames) {
                cmdBuild.append(s + ";");
            }
            finish(new ProcessBuilder(cmdBuild.toString().split(";")).start());
        }
     
    Colby_, Mar 10, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Slyfoot

    Command Line File Utility?

    Slyfoot, Jul 1, 2004, in forum: Computer Support
    Replies:
    3
    Views:
    569
    Slyfoot
    Jul 2, 2004
  2. fitwell

    Command line archiving (i.e., WinRAR)?

    fitwell, Jul 13, 2004, in forum: Computer Support
    Replies:
    3
    Views:
    71,485
    manikp
    Feb 10, 2011
  3. AF

    WinRAR Command Line Help

    AF, Nov 6, 2006, in forum: Computer Support
    Replies:
    1
    Views:
    6,866
  4. Tom
    Replies:
    2
    Views:
    1,027
  5. Nervous Nick

    Re: Command line utility to compare images

    Nervous Nick, Apr 29, 2008, in forum: Digital Photography
    Replies:
    0
    Views:
    953
    Nervous Nick
    Apr 29, 2008
Loading...

Share This Page