Jump to content

Makecab.exe vs Cabarc.exe - packing files


Recommended Posts

Posted (edited)

The test is using the same file base as that one. This time I just compressed the files from the "2" folder in order to see if there's any difference between makecab.exe and cabarc.exe when compressing files with LZX:21 compression.

  1. makecab.exe 5.0.2147.1 (from Windows 2000)
    FOR /F "delims=" %%A IN ('DIR/B/S 2') DO makecab /D CompressionType=LZX /D CompressionMemory=21 "%%A" /L 3 >NUL


    Time: 7:51

  2. makecab.exe 6.1.7600.16385 (from Windows 7)
    FOR /F "delims=" %%A IN ('DIR/B/S 2') DO makecab /D CompressionType=LZX /D CompressionMemory=21 "%%A" /L 3 >NUL


    Time: 7:03

  3. cabarc.exe 6.2.9200.16438 (from Windows 8)
    SETLOCAL ENABLEDELAYEDEXPANSION
    FOR /F "delims=" %%A IN ('DIR/B/S 2') DO (
    SET File=%%~nA.
    SET "Ext=%%~xA" && SET File=%%~nA!Ext:~0,-1!
    cabarc -m lzx:21 N 3\!File!_ "%%A" >NUL
    )


    Time: 7:05

Edited by tomasz86

Posted

So, Cabarc beats Expand, and Cabarc beats MakeCab, so Cabarc seems like the overall winner!

Cheers and Regards

Posted

I've added one more test done using a newer version of makecab. It seems to be exactly as fast as cabarc.

Posted (edited)

Tomasz..Can post d/l link or upload the cabarc.exe 6.2.9200.16438 for Win 8 the version I am using is 5.1.2600.0 is

not working with your code. Keep getting a "failed code 6" ..Thanks Dos

Got it to work with Win8 now with this revised code..biggrin.gif

@echo off&color a&setlocal enabledelayedexpansion

:: CabArc
for /f "delims=" %%x in ('dir/b/s Files2Cab') do (
set file=%%~nx.
set "Ext=%%~xx" && set file=%%~nx!Ext:~0,-1!
cabarc -m lzx:21 N Cab.CabArc "%%x">nul
)

Edited by DosProbie
  • 4 weeks later...
Posted

[*] cabarc.exe 6.2.9200.16438 (from Windows 8)

Silly question....

Where do I find this version of cabarc?

Thanks

Posted

[*] cabarc.exe 6.2.9200.16438 (from Windows 8)

Silly question....

Where do I find this version of cabarc?

Thanks

Please see the clue!

Posted (edited)

[*] cabarc.exe 6.2.9200.16438 (from Windows 8)

Silly question....

Where do I find this version of cabarc?

Thanks

Please see the clue!

The "clue" is misleading, its not present in Windows 8. You can fin it in the latest IEAK 10

BTW the latest version of cabarc.exe is 6.2.9200.16521

Edited by ricktendo
Posted

The "clue" is misleading, its not present in Windows 8. You can fin it in the latest IEAK 10

BTW the latest version of cabarc.exe is 6.2.9200.16521

Thanks Tomasz86 for the helpful clarification - Yes the CLUE was a little misleading. Ive been looking for the latest version for some time (inlcuding on Win8....owl).

Regards

Posted

Thanks Tomasz86 for the helpful clarification - Yes the CLUE was a little misleading. Ive been looking for the latest version for some time (inlcuding on Win8....owl).

Regards

Only problem being that this piece of info was kindly provided by ricktendo .... :whistle:

jaclaz

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...