Re: Zip using Perl

2004-01-29 Thread Adam
I'd be interested in seeing the error message if you could provide it. Given your message, the only problem I could see with this code is if the file's name had spaces. For example, if you attempted to zip a file named `my grocery list.xls`. You would need to wrap the zip name in single quotes

RE: Zip using Perl

2004-01-29 Thread Dan Muey
> On Wed, 28 Jan 2004 15:37:12 -0500 > "RL" <[EMAIL PROTECTED]> wrote: > > > I would like to "zip" a file using perl script. I used following > > command:- > > > > system ("zip "); > > > > However this command fails when the filename is more than 8 > > characters. Why not try Archive::Zip in

Re: Zip using Perl

2004-01-28 Thread Owen
On Wed, 28 Jan 2004 15:37:12 -0500 "RL" <[EMAIL PROTECTED]> wrote: > I would like to "zip" a file using perl script. I used following command:- > > system ("zip "); > > However this command fails when the filename is more than 8 characters. I really have no idea. have you tried system ("

Re: Zip using Perl

2004-01-28 Thread RL
I downloaded zip23xN.zip and unz550xN.exe from http://ftp.info-zip.org/pub/infozip/WIN32/ "Manish Uskaikar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi All, I would like to "zip" a file using perl script. I used following command:- system ("zip "); However this command fails

Re: Zip using Perl

2003-12-19 Thread R. Joseph Newton
Manish Uskaikar wrote: > Hi All, > > I would like to "zip" a file using perl script. I used following command:- > > system ("zip "); > > However this command fails when the filename is more than 8 characters. Not true. I just tested, and filenames were not rejected for length. It does not ign

Re: Zip using Perl

2003-12-18 Thread Randy W. Sims
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 "); 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 whic

Re: Zip using Perl

2003-12-18 Thread Andrew Gaffney
Manish Uskaikar wrote: Hi All, I would like to "zip" a file using perl script. I used following command:- system ("zip "); 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

Zip using Perl

2003-12-18 Thread Manish Uskaikar
Hi All, I would like to "zip" a file using perl script. I used following command:- system ("zip "); 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+ character