Jump to content

Makecab.exe vs Cabarc.exe - packing files


tomasz86

Recommended Posts

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
Link to comment
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
Link to comment
Share on other sites

  • 4 weeks later...

[*] 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
Link to comment
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

Link to comment
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

Link to comment
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.
×
×
  • Create New...