Here's our Windows 95/98 Tip for.. February 1, 1997
Click Here to see a complete list of all of our previously released Tips!
More Extract-ions
Yesterday, we talked about using the Win95 EXTRACT utility to recover files from the compressed files located on the install disks or CD. Here's another great Extract tip. Would you like to know exactly which files were in all the various compressed .CAB files on the CD and where? Write this simple batch file to produce a report showing all files in the Windows 95 .CABs and create a permanent record in a text file.

for %%x in (?:\win95\*.cab) do extract /d %%x >> C:\cabfile.txt edit C:\cabfile.txt

Make sure you type it as shown (on two lines, the first starting with 'for' and the second beginning with 'edit') and substitute your CD drive letter where you see the "?". Also specify the path and filename for your report. In the above example, the report will be saved as CABFILE.TXT and will be located on C:\. As an example, save this batch file as CABFILE.BAT.