Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


tomasz86

Makecab.exe vs Cabarc.exe - packing files

11 posts in this topic

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
0

Share this post


Link to post
Share on other sites

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

Cheers and Regards

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

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

Silly question....

Where do I find this version of cabarc?

Thanks

0

Share this post


Link to post
Share on other sites

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

Silly question....

Where do I find this version of cabarc?

Thanks

Please see the clue!

0

Share this post


Link to post
Share on other sites

[*] 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
0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

I also stated that it was a clue, not the answer! :whistle:

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.