Jump to content

makecab everything in a folder


fdv

Recommended Posts

You could use 'compress.exe' from the resource kit.

compress -r * outputdir

As far as I can see though that creates a dot Z file, it doesn't makecab FILE.SYS >> FILE.SY_

Link to comment
Share on other sites


There is a great tool from one of the board members - jdoe. It's here.

I use its previous version with batch files ;) It adds two lines to Send To context menu: "CAB expand" and "CAB make". And it makes File.ex_ from separate files and Folder.cab files from folders :thumbup

Edited by Oleg_II
Link to comment
Share on other sites

Compress.exe from the Windows resource kit, is the reverse of Expand.exe.

COMPRESS [-r] [-d] [-z] Source Destination
COMPRESS -r [-d] [-z] Source [Destination]

-r Rename compressed files.
-d Update compressed files only if out of date.
-zx LZX compression.
-z MS-ZIP compression.
-zq[n] Quantum compression and optional level
(in range 1-7, default is 4).
Source Source file specification. Wildcards may be used.
Destination Destination file | path specification.
Destination may be a directory.
If Source is multiple files and -r is not specified,
Destination must be a directory.

The level of compression given by makecab is identical with compress -r -zx filename outdir

By itself, compress -r file outdir, gives a compression identical with Windows 3.10 (any kind).

For windows XP and above ye find compress.exe in the reskit. For 2k, it is rath found by google.

Link to comment
Share on other sites

  • 2 years later...

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...