Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Tech Tips & Tricks
Tag Cloud
access audio blue screen boot bsod connection crash dell desktop driver dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor ram recovery router safe mode screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > General Technology > Tech Tips & Tricks >
Extract CAB File With A Double Click

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
Deke40's Avatar
Computer Specs
Distinguished Member with 5,954 posts.
 
Join Date: Jun 2002
Location: Texas
Experience: Beginner
05-Jul-2004, 08:50 PM #1
Extract CAB File With A Double Click
This tip comes from one of our members-Starwaves77 in this thread. I just tried it and it works great.


Here's a little batch file to locate & extract any cab file you need.

Open up a new Notepad document and copy and paste these commands into it, just RIGHT click anywhere on the desktop and select NEW, then TEXT ...paste the following into it, , it assumes your CAB folders path is 'C:\windows\options\cabs' ..... change that pathe as needed on line 7, depending on your windows version,


@echo off
md c:\windows\desktop\CabXtrac
if "%1"=="" goto error
CLS
c:
cd c:\windows\desktop\CabXtrac
for %%i in (C:\windows\options\cabs\*.CAB) do extract %%i %1
ECHO.
IF EXIST %1 ECHO %1 successfully extracted.
IF NOT EXIST %1 ECHO %1 not found
goto end
:error
echo.
echo Syntax: CabX file-to-extract
echo Example: CabX Control.exe
echo.
:end


Now --- Save the file as Cab77.bat in your C:\Windows directory. Make sure you type in the .bat extension, (you can name it anything it doesn't have to be cab77)

Now click on Start / Run / C:\windows

Create a shortcut to cab77.bat by right clicking it in the Windows folder and dragging it to your Desktop and choose "New Shortcut Here",

Right click the new desktop shortcut and select Properties, Click the Program tab.

On the line Cmd. line: you will see C:\Windows\cab77.bat

Go to the end of that command, skip a space using your space bar and type in a ? mark so it looks like this:

C:\Windows\cab77.bat ?
Click Apply, then Ok,

Your desktop shortcut batch file will search, find & instantly extract any file you type in it from your CAB folders, you'll never have to use System File Checker, if it cannot find it, it's not there,

You can rename your shortcut to whatever you like just don't change the .bat extension,

Any files you extract using this will go to the desktop folder called CabXtrac on your desktop. (CabXtrac can be named anything you like)

Once your in that folder you can copy those extracted files to where ever they are needed,

The pathe in this batch file is C:\WINDOWS\OPTIONS\CABS,

NOTE:
FOR OTHER COMPUTERS:
Substitute the path to your CAB files in this line for %%i in (C:\windows\options\cabs\*.CAB) do extract %%i %1

your path may be C:\windows\install\cabs, or it may be C:\win98\cabs, search for your cab folder and check it's path to determine that,

If you want to know the exact CAB file that the extraction occurred in, extract the file a 'second' time that will force the search to stop at the cab's location and ask if you want to 'overwrite' ... that's the cab,

So you spend a little time setting it up but after that it's a laser light show ....
__________________
Take Care
Deke
aarhus2004's Avatar
aarhus2004 has a Photo Album
Computer Specs
Distinguished Member with 2,261 posts.
 
Join Date: Jan 2004
Location: Western Canada
Experience: Windows Millennium only
07-Jul-2004, 10:55 AM #2
Hello Deke,

I did that. Got a small window asking for 'parameters' Got stuck with that!
Everything I entered was not valid not found or whatever. What is a 'parameter'? Could you give an example of one for WinMe? Please.

BTW I used this line at seven C:\windows\options\install\cabs\*CAB) and if the parameter 'window' opened would that signify I was on the right path?
__________________
Java Runtime Environment Version 5.0 Update 16 see here. And download the latest MVP's Hosts File here. The latest (01-Jan-2008) thread ("For WinME Users Only") selected post summary #7 here.
Deke40's Avatar
Computer Specs
Distinguished Member with 5,954 posts.
 
Join Date: Jun 2002
Location: Texas
Experience: Beginner
07-Jul-2004, 11:07 AM #3
Parameter would be what you were searching for.

I used the example of notepad.exe in the parameter window and then shoud end up with the image below. Just close it out and look in your ExtractCab folder and it shoud be there if it is successful.
Attached Thumbnails
Extract CAB File With A Double Click-clipboard02.jpg  
aarhus2004's Avatar
aarhus2004 has a Photo Album
Computer Specs
Distinguished Member with 2,261 posts.
 
Join Date: Jan 2004
Location: Western Canada
Experience: Windows Millennium only
07-Jul-2004, 11:17 AM #4
Thanks Deke, I will have another run at it.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 03:34 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.