From: stev379 on
How can I extract msp files from cab files with VBS? I have 99 cabs. Each
cab may have at least 1 or more msp files.

I'm trying to edit an older script I used to qchain updates years ago, but
getting "Expected end of statement" errors. That script is such a mess now,
it's not even readable or worth posting.

Any help or suggestions is greatly appreciated. Thanks -Steve
---

From: Pegasus [MVP] on


"stev379" <stev379(a)discussions.microsoft.com> wrote in message
news:CE14AAF5-606E-4299-A32C-FB1909AE34C2(a)microsoft.com...
> How can I extract msp files from cab files with VBS? I have 99 cabs.
> Each
> cab may have at least 1 or more msp files.
>
> I'm trying to edit an older script I used to qchain updates years ago, but
> getting "Expected end of statement" errors. That script is such a mess
> now,
> it's not even readable or worth posting.
>
> Any help or suggestions is greatly appreciated. Thanks -Steve
> ---

The usual method is to extract them with a console command such as the one
below (untested):

for %a in (e:\cabfiles\*.cab) do expand "%a" *.msp

 | 
Pages: 1
Prev: Rename user accounts
Next: Thanks