Check out http://www.kyz.uklinux.net/cabextract.php3 -- perhaps it could form the core of a module...
--Jay M. -----Original Message----- From: CARPENTER,STEPHEN (HP-Corvallis,ex1) [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 2:16 PM To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: RE: .CAB? Hi, Windows 2000 comes with "c:\winnt\system32\makecab.exe" for creating .cabs and then there is the "expand" mentioned below, you can download it from TechNet. .cabs are M$ archive format. I'd be surprised if there is an open source version (but then I haven't looked either). Sorry, don't know (or care) about other Windows versions. StephenC. -----Original Message----- From: "FARRINGTON, RYAN" <[EMAIL PROTECTED]> To: "'Jan Dubois'" <[EMAIL PROTECTED]>, "Bullock, Howard A." <[EMAIL PROTECTED]> Cc: "FARRINGTON, RYAN" <[EMAIL PROTECTED]>, [EMAIL PROTECTED], Perl List <[EMAIL PROTECTED]> Subject: RE: .CAB? Date: Fri, 13 Dec 2002 12:20:53 -0600 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2A2D4.5F430770 Content-Type: text/plain; charset="iso-8859-1" damn =) ah well... Thanks I was doing that anyway but I wanted to find a way to do it totally in PERL and not have to rely on a third-party executable -----Original Message----- From: Jan Dubois [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 12:17 PM To: Bullock, Howard A. Cc: 'FARRINGTON, RYAN'; [EMAIL PROTECTED]; Perl List Subject: Re: .CAB? On Fri, 13 Dec 2002 12:23:49 -0500, "Bullock, Howard A." <[EMAIL PROTECTED]> wrote: >I thought I had seen a Win32::Cabinet module, but can not seem to find >it on >ActiveState's site or at CPAN.org. It is part of the Perl Dev Kit. But it won't help you extract files from a CAB, it only builds them. The only way to access files inside a CAB from Perl (that I know about) is to shell out and run expand.exe to extract the file to the filesystem: | C:\>expand -? | Microsoft (R) File Expansion Utility Version 5.00.2134.1 Copyright | (C) Microsoft Corp 1990-1999. All rights reserved. | | Expands one or more compressed files. | | EXPAND [-r] Source Destination | EXPAND -r Source [Destination] | EXPAND -D Source.cab [-F:Files] | EXPAND Source.cab -F:Files Destination | | -r Rename expanded files. | -D Display list of files in source. | Source Source file specification. Wildcards may be used. | -F:Files Name of files to expand from a .CAB. | Destination Destination file | path specification. | Destination may be a directory. | If Source is multiple files and -r is not specified, | Destination must be a directory. Cheers, -Jan _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
