How do I exptract files from Win2K cabs

How do I extract/expand files from win2k cabs?  I know win98 had the System File Checker (SFC) utility which was hugely convienent.

I can't fund such a beast in win2k
The MS windows help file makes mention of a "expand" command from the command prompt but I am unable to understand the syntax of the command.

Any help would be greatly appreciated.
If I have to install a 3rd party utility I could do that.
jjschAsked:
Who is Participating?
 
dew_associatesCommented:
jj,

Expand: Expands Compressed Files
 
The MS-DOS-based Expand utility runs from the command line. Type the expand command with the appropriate options as shown in Table 3.18.

The syntax of the command is:

expand [?r] source [destination]

Expand Options
 
Option     Description

?r     Renames expanded files.
source     Specifies the source file. The asterisk (*) and question mark (?) wildcard characters can be used.
destination     Specifies the destination file or path. The destination can be a folder. If source specifies multiple files and the ?r option is not specified, then destination must be a folder.

Let me know if you need more.

Dennis
0
 
matt023Commented:
if you have winzip installed, just right click on the .cab file and choose "Extract".  Choose the destination and that's it.

0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
jjschAuthor Commented:
I saw the expand command syntax, but what is stumping me is how due I say:

extract wsock32.dll from the cabs directory and copy it to c:\winnt\system32  ???

This could be done in win98 using SFC and it was nice for techsupport when you suspected a certain file was corrupted.

So I guess I'm not understanding a way to expand/extract just ONE file that is compressed inside a cabinet file. The source destination model...seems to me is designed for epanding a whole cab, not extracting a file from it.

Otherwise the syntax would contain 3 parameters: file  source AND destination.

Any ideas!
0
 
dew_associatesCommented:
Well the syntax for running SFC in Windows 2000 is SFC /SCANNOW.

It will automatically scan windows files as they are considered protected files in Win2000 and therefore rely on driver and file signing to identify the correct file version and date.

To extract a specific file you would need to know in which CAB it is located, which you can find out on the MS Knowledge Base.

Unfortunately though, you won't find Winsock files in the OS cabs, but rather the add-ons such as IE, Outlook etc.
0
 
dew_associatesCommented:
Thanks jj, I'll remember this. Next time you need explicit help, ask poli~ as I'm sure he'll give you another URL with no relevance to the question asked.
0
 
poli_13Commented:
jjsch, thanks for the points, I'm glad I could help.

dennis, I'm sorry you feel this way. here's what I'll do: if you are sure that you deserved the points, and my URL has no relevance to the question asked, I'll give them (the 300 points) to you (I don't know if I can transfer them directly to you, but I can make up a Q for 300 points and accept ONLY your A).

I'm here to help, not to chase points...

poli
0
 
jjschAuthor Commented:
I gave poli the points because I thought that the link provided me with the added help which led me to figuring it out on my own.

In reality all of you helped me.  I tried to search the knowledge base for a list of the cab contents but didn't find it

I finally used matt023's suggestion to use winzip to find the contents of the cabs.  Once I knew the contents I could
play with the command line until I figured out the correct verbage/syntax

I'm new to the Expert exchange...Is there a way that in the future I can give partial points to 2 or more individuasl which together gave me a full answer?
I hate to divide up pts. but since all of you helped me in some way, I would love to acknowledge your actions.
0
 
dew_associatesCommented:
Poli, the points are irrlevant as they are worthless, however there are people who pay to access the database, and given that there's no relevance between the question and your URL, they're paying to be misled.

At least JJ's last post points people in the right direction.
0
 
poli_13Commented:
dennis,

please take your time and read jj's Q again, and then go to my above mentioned link (or use your own Knowledge Center), install the program and read the options. jj had the option to accept or reject my answer (he rejected it first). peole who are paying have the same options.

you say the points are irrelevant and worthless...; read the threat in your 3rd comment (coming from #1 Expert Hall of Fame to someone who just joined Experts Exchange)

please, don't bother to reply to this comment.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.