Windows 98 CAB File Extraction Utility

In Microsoft Windows 98, operating system installation media and driver sets stored data within Cabinet (.CAB) archive files to conserve disk space. The dedicated native utility used to unpack and retrieve individual or batch files from these archives was the command-line tool EXTRACT.EXE. This article covers the role of EXTRACT.EXE, how it operated in both MS-DOS and Windows environments, and how it was used to repair damaged system installations.

The EXTRACT Utility

The primary utility for unpacking CAB files in Windows 98 was EXTRACT.EXE. Located by default in the C:\Windows\Command folder and available on the Windows 98 startup floppy disk, this command-line application enabled users and system scripts to decompress files directly from setup media without requiring a full operating system reinstallation.

Because it ran in 16-bit real-mode MS-DOS as well as within the 32-bit Windows command prompt, EXTRACT.EXE was an essential tool for troubleshooting and system recovery when Windows 98 failed to boot to the desktop.

Common Command Syntax and Parameters

The EXTRACT command supported several parameters to inspect, search, and extract files from spanned or individual cabinet archives:

  • View Contents: Running EXTRACT /D filename.cab displayed the contents and directory structure of the cabinet without extracting anything.
  • Extract a Specific File: Running EXTRACT filename.cab targetfile.dll /L C:\Windows\System extracted the specific target file directly into the designated destination directory.
  • Extract Across Spanned Sets: Windows 98 setup files were divided across multiple cabinets (such as WIN98_22.CAB, WIN98_23.CAB). The /A switch instructed the utility to search across all sequentially linked CAB files starting from the first archive in the set.
  • Extract All Files: Using the /E switch extracted all contents contained within the cabinet archive.
  • Overwrite Files: The /Y switch suppressed overwrite confirmations, which was useful during batch automated restoration scripts.

Role in System File Checker and System Recovery

In addition to direct manual use via the command line, Windows 98 integrated cabinet extraction into diagnostic utilities. The System File Checker (SFC.EXE) utility used the underlying extraction engine to restore altered, missing, or corrupted system files directly from the Windows 98 CD-ROM or local setup .cab directories.

Windows 98 also introduced the Cabinet File Viewer (CABVIEW.DLL), a shell extension that allowed users to browse CAB archives within Windows Explorer as if they were standard folders. However, for direct, standalone extraction tasks—especially in emergency boot environments—EXTRACT.EXE served as the foundational tool.