Wednesday, February 20, 2008

Extracting files from Win95's CAB files

The submitted tip will only extract files that start with the name you specificed.
To extract a file from an unknown cab file, where it will search through all cab files, from the command line, enter:

for %p in (x:\win95\*.cab) do extract %p filename

Where x\win95 is the location of you cab files and filename is the name of the file you are looking for.
To do this in a batch file, use two % signs instead of one.

No comments: