fdv Posted April 10, 2008 Author Posted April 10, 2008 You could use 'compress.exe' from the resource kit.compress -r * outputdirAs far as I can see though that creates a dot Z file, it doesn't makecab FILE.SYS >> FILE.SY_
Oleg_II Posted April 11, 2008 Posted April 11, 2008 (edited) 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 Edited April 12, 2008 by Oleg_II
os2fan2 Posted April 12, 2008 Posted April 12, 2008 Compress.exe from the Windows resource kit, is the reverse of Expand.exe.COMPRESS [-r] [-d] [-z] Source DestinationCOMPRESS -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 outdirBy 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.
ritter_devil Posted August 11, 2010 Posted August 11, 2010 rem @echo offfor %%a in (*.*) do MAKECAB %%apause_______________________________________________Put this script in your folder with files you want to cabcompressMake sure that at the end you delete cabcompressed cmd file.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now