fdv Posted April 10, 2008 Author Share 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_ Link to comment Share on other sites More sharing options...
Oleg_II Posted April 11, 2008 Share 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 Link to comment Share on other sites More sharing options...
os2fan2 Posted April 12, 2008 Share 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. Link to comment Share on other sites More sharing options...
ritter_devil Posted August 11, 2010 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now