Solved

How do I exptract files from Win2K cabs

Posted on 2001-09-12
10
148 Views
Last Modified: 2010-04-13
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.
0
Comment
Question by:jjsch
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 25

Expert Comment

by:dew_associates
ID: 6477983
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
 

Accepted Solution

by:
poli_13 earned 75 total points
ID: 6478101
0
 
LVL 5

Expert Comment

by:matt023
ID: 6478102
if you have winzip installed, just right click on the .cab file and choose "Extract".  Choose the destination and that's it.

0
 

Author Comment

by:jjsch
ID: 6480128
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
 
LVL 25

Expert Comment

by:dew_associates
ID: 6480196
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 25

Expert Comment

by:dew_associates
ID: 6480764
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
 

Expert Comment

by:poli_13
ID: 6482997
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
 

Author Comment

by:jjsch
ID: 6483032
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
 
LVL 25

Expert Comment

by:dew_associates
ID: 6485076
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
 

Expert Comment

by:poli_13
ID: 6487960
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

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Windows 2000 Kerberos problem 5 301
Images sometimes not printed 6 467
Domain dunctional level. 4 310
Windows 16 338
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In  today’s increasingly digital world, managed service providers (MSPs) fight for their customers’ attention, looking for ways to make them stay and purchase more services. One way to encourage that behavior is to develop a dependable brand of prod…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now