.cab (Cabinet) 是 Microsoft 專用壓縮格式,常見於 Windows 系統檔、驅動程式套件、更新包。支援多檔案封裝、壓縮、數位簽章。
Windows 內建 expand.exe(非 extract.exe,文中有誤):
expand -F:* source.cab destination_folder
或 PowerShell:Expand-Archive -Path source.cab -DestinationPath folder
從 Windows 98 光碟 precopy1.cab 取出 shell.dll 至 C:\Windows\System:
expand -F:shell.dll D:\win98\precopy1.cab C:\Windows\System
.cab 是 Windows 生態系核心封裝格式,日常用 WinRAR/7-Zip 即可處理;系統層級操作用 expand 指令更精準。