Question : How do I add a file to a Cab File?

I need to add a file to an exisitng .cab file. I have used the MAKECAB.exe tool from Microsoft which only allows me to make a cab file from a single file - I need to create a cab file with multiple files.

Answer : How do I add a file to a Cab File?

1. Get the "Microsoft Cabinet Software Development Kit" here

2. Run cabsdk.exe, extract all files to the windows/system32/ Directory.

3. Open a command prompt to the folder where the files you want to put in a cab are stored.

4. Enter this command, it will tell cabarc.exe to put all of the files in that directory into a cab file named "FileName.cab" with maximum compression:
cabarc -m lzx:21 n FileName.cab *
Random Solutions  
 
programming4us programming4us