Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do I exptract files from Win2K cabs

Posted on 2001-09-12
10
Medium Priority
?
157 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 300 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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
 
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

704 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