ScriptMonkey

scripting the day away...

« Back to blog

NFTF: Extracting the important bits from wsusscn2.cab

Working on a script for extracting MS numbers for patches for work.

The following command allows 7zip to extract the needed files without extracting the hundreds of thousands of other items in a giant lump.

"c:\Program Files\7-Zip\7z.exe" x -ir!x/* cabs/package*.cab"

Bloody useful