词条 | Cabinet (file format) | |||||||
释义 |
| name = Cabinet | icon = Cab file format icon.png | extension = .cab | mime = application/vnd.ms-cab-compressed | uniform type = public.archive.cab | conforms to = public.data public.archive | owner = Microsoft | creatorcode = | magic = MSCF | genre = Archive file format | containerfor = | containedby = | extendedfrom = | extendedto = }} Cabinet (or CAB) is an archive-file format for Microsoft Windows that supports lossless data compression and embedded digital certificates used for maintaining archive integrity. Cabinet files have The CAB file format may employ the following compression algorithms:
A CAB archive can reserve empty spaces in the archive as well as for each file in the archive, for some application-specific uses like digital signatures or arbitrary data. A variety of Microsoft installation technologies use the CAB format - these include Windows Installer, Setup API, Device Installer and AdvPack (used by Internet Explorer to install ActiveX components). CAB files are also often associated{{by whom?|date=February 2018}} with self-extracting programs like IExpress where the executable program extracts the associated CAB file. CAB files are also sometimes embedded into other files. For example, MSI and MSU files (the latter are CAB files with just another filename extension) usually include one or more embedded CAB files. File structureA CAB archive can contain up to 65535 CAB-folders, (not to be confused with file system folders) each can contain up to 65535 files. Internally, each CAB-folder is treated as a single compressed block, which provides more efficient compression than individually compressing each file. Every entry in a CAB-folder has to be a file.[1] Due to this structure, it is not possible to store empty folders in CAB archives. The following shows an example a CAB file structure, demonstrating the relationship between CAB-folders and files:
How paths should be handled is not specified in the CAB file format, leaving it to the software implementation.
Software{{Main|Comparison of file archivers}}Software that can extract the contents of a CAB archive file are numerous, including Microsoft Windows itself (through File Explorer, Setup API, The Windows program
Related formatsThe Microsoft Publisher has a "Pack and Go" feature that bundles a publisher document, together with all external links, into a CAB file with a Application in Component-Based Servicing and related bugWindows (at least versions 7, 8, and 2008 R2 (on windows 10 at that location no cab are found)) uses the See also
References1. ^https://msdn.microsoft.com/en-us/library/bb267310.aspx Microsoft Cabinet Format 2. ^{{cite web|title=Microsoft Cabinet Software Development Kit|url=https://support.microsoft.com/kb/310618|work=Support|publisher=Microsoft|accessdate=27 March 2013}} 3. ^{{cite web|title=lcab|url=http://freecode.com/projects/lcab|work=Freecode|publisher=Dice|accessdate=27 March 2013}} 4. ^{{cite web|title=cabextract|url=http://freecode.com/projects/cabextract|work=Freecode|publisher=Dice|accessdate=27 March 2013}} 5. ^{{cite web|url=http://ss64.org/viewtopic.php?id=1816|title=[Undocumented] [Bugs] Expand.exe (more about it) (Page 1) / Windows CMD Shell / SS64 Forum|author=|date=|website=ss64.org|accessdate=21 April 2018}} 6. ^{{cite web|url=https://github.com/twogood/unshield|title=twogood/unshield|author=|date=|website=GitHub|accessdate=21 April 2018}} 7. ^{{Cite web|url=https://social.technet.microsoft.com/wiki/contents/articles/38259.clean-up-component-based-servicing-logs.aspx|title=Clean Up Component-Based Servicing logs|last=|first=|date=July 7, 2017|website=Microsoft TechNet|archive-url=|archive-date=|dead-url=|access-date=}} 8. ^1 {{Cite web|url=https://www.computerworld.com/article/3112358/microsoft-windows/windows-7-log-file-compression-bug-can-fill-up-your-hard-drive.html|title=Windows 7 log file compression bug can fill up your hard drive|last=Leonhard|first=Woody|date=2016-08-25|website=Computerworld|language=en|access-date=2019-01-08}} External links
2 : Archive formats|Windows administration |
|||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。