develooper Front page | perl.beginners | Postings from December 2003

Re: Zip using Perl

Thread Previous | Thread Next
From:
Randy W. Sims
Date:
December 18, 2003 21:47
Subject:
Re: Zip using Perl
Message ID:
3FE290C4.4070201@ThePierianSpring.org
On 12/19/2003 12:38 AM, Manish Uskaikar wrote:

> Hi All,
> 
> I would like to "zip" a file using perl script. I used following command:-
> 
> system ("zip <zip name> <file name>");
> 
> However this command fails when the filename is more than 8 characters. Since DOS does not support more than 8 characters. Is there any way by which I can zip a file, whose name is 9+ characters long? I am working on Windows 2000.

Try Archive::Zip

Regards,
Randy.


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About