| View previous topic :: View next topic |
| Author |
Message |
noveltech Contributor

Joined: 16 Sep 2002 Posts: 105
|
Posted: Sat Dec 21, 2002 5:20 pm Post subject: searching within a cab file? |
|
|
does anyone know a way to search within a cab file for a specific file?
Problem: Installing a program that is dependent upon a specific win file.
If specific win file is not in the sys dir...program does not exe.
Solution?: Have client insert win disk/cd, do search for specfic file and install to sys dir?
OR...is there a legal way to distribute win system files/exe/dll's with your program without getting beat up by Mr Gates?
Thanks for all feedback, nt |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Dec 21, 2002 5:47 pm Post subject: |
|
|
You might be able find all .CAB files on the computer and then use
Gadget.dll to extract them into a temporary directory, then search those
files. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Dec 21, 2002 5:48 pm Post subject: |
|
|
You can use Micro$ofts MS-DOS utility, extract.exe. It's located in your
\Windows\Command directory. Below is the syntax for using the
extract.exe command. The only other way I know it to use an archive
utility, such as PowerArchiver.
| Code: | Microsoft (R) Cabinet Extraction Tool - Version (16) 1.00.603.0 (08/14/97)
Copyright (c) Microsoft Corp 1994-1997. All rights reserved.
EXTRACT [/Y] [/A] [/D | /E] [/L dir] cabinet [filename ...]
EXTRACT [/Y] source [newname]
EXTRACT [/Y] /C source destination
cabinet - Cabinet file (contains two or more files).
filename - Name of the file to extract from the cabinet.
Wild cards and multiple filenames (separated by
blanks) may be used.
source - Compressed file (a cabinet with only one file).
newname - New filename to give the extracted file.
If not supplied, the original name is used.
/A Process ALL cabinets. Follows cabinet chain
starting in first cabinet mentioned.
/C Copy source file to destination (to copy from DMF disks).
/D Display cabinet directory (use with filename to avoid extract).
/E Extract (use instead of *.* to extract all files).
/L dir Location to place extracted files (default is current directory).
/Y Do not prompt before overwriting an existing file.
|
Hope this helps, at least a little. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
noveltech Contributor

Joined: 16 Sep 2002 Posts: 105
|
Posted: Sun Dec 22, 2002 2:40 pm Post subject: Thanks |
|
|
| Thanks bweckel, It works very well! nt |
|
| Back to top |
|
 |
|