Solved

How do I exptract files from Win2K cabs

Posted on 2001-09-12
10
150 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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…
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

785 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