Winrar / 7-Zip Archive Question

Discussion in 'Application Software' started by Hustle910, Sep 30, 2011.

  1. Hustle910

    Hustle910 MDL Member

    Nov 12, 2009
    132
    218
    10
    Hi, could someone tell me please, is there a command line command for this, I have over 100 files inside a directory, each need to be rared/7-zipped separately at the compression ratio of best.

    Thank You. :smartass:
     
  2. x86

    x86 MDL Addicted

    Jul 8, 2011
    898
    206
    30
    #2 x86, Sep 30, 2011
    Last edited by a moderator: Apr 20, 2017
    It can be done. Grab and install WinRar. Then open Console Rar Manual (Rar.txt) and check the command line switches. Syntax is in the following form:

    Code:
    RAR <command> [ -<switches> ] <archive> [ <@listfiles...> ] [ <files...> ] [ <path_to_extract\> ]
    For example
    Code:
    -m5
    will enable Best Compression...
     
  3. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,519
    7,112
    120
    #3 Josh Cell, Sep 30, 2011
    Last edited by a moderator: Apr 20, 2017
    Using 7z.exe + 7z.dll :

    Code:
    7z.exe x "Imput archive"  -o"Output folder"
    It works for me ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. newmax07

    newmax07 MDL Novice

    Oct 14, 2011
    20
    2
    0
    what is the most powerful software can extract protected archive ??