JSI Tip 8137. How can I create a cabinet file (.CAB) in Windows 2000 and later?

Jerold Schulman

June 9, 2004

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Starting with Windows 2000, Microsoft has included MAKECAB.EXE as a standard component.

When you open a CMD.EXE window and type makecab /?, you receive a display similar to:

Microsoft (R) Cabinet Maker - Version 5.1.2600.2142Copyright (c) Microsoft Corporation. All rights reserved..MAKECAB [/V[n]] [/D var=value ...] [/L dir] source [destination]MAKECAB [/V[n]] [/D var=value ...] /F directive_file [...]  source         File to compress.  destination    File name to give compressed file.  If omitted, the                 last character of the source file name is replaced                 with an underscore (_) and used as the destination.  /F directives  A file with MakeCAB directives (may be repeated).  /D var=value   Defines variable with specified value.  /L dir         Location to place destination (default is current directory).  /V[n]          Verbosity level (1..3).

For more information on using MAKECAB.EXE, extract MAKECAB.DOC.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like