How to Extract the Windows 98 CAB files from DOS


Sometimes, it's necessary to extract a new copy of a particular file from the original cabinet (.cab) file. However, identifying which .cab file (in a list of consecutively named files) contains the file that you need is difficult. Solve this problem by using Extract.exe from a DOS window

Extract.exe is the program normally used to extract files from the .cab file. Use the /d switch to list the contents of the file to screen:

    extract /d d:\win98\win98_08.cab

This allows you to identify whether the file you need is in the .cab file onscreen.
Add "> contents.txt" to the end of the command line and the contents will be written to Contents.txt.


  Notice: There is a space between the > and contents.

Additionally, add an /a switch before the /d switch and Extract.exe will list the contents of all sequentially named .cab files beginning with the one you named on the command line.