Applications Previous
Previous
Welcome
Welcome
Next
Next

CAB Creation Demo

This sample demonstrates the usage of the cab creation classes in the cab package, and also serves as a useful tool for creating cabinets.

To compile : jvc *.java

Example usage: jview Create /m MSZIP test.cab test.txt

(test.txt is a small sample text file provided for this purpose)

The created cabinet "test.cab" can be extracted by using the EXTRACT sample java code.

Note: This sample does not preserve the date and time of files added to a cabinet.

Remarks:
The cab creation demo is located in the Samples/Cab/Create subdirectory.



Top © 1996-1997 Microsoft Corporation. All rights reserved.