Hi, Your question is not clear, but I have palced code for zip the files in the given path (as argument).
use Archive::Zip; $path = $ARGV[0]; chdir ($path); my $zip = Archive::Zip->new(); #create object my $file = $1 if($path =~ /\\([^\\]+)$/); $zip->addTree( '.', "$file" ); $zip->writeToFileNamed( "$path.zip" ); #archive & compress print "Zip Process Over";
Check whether it helps you.
Regards,
Velusamy R.
In reply to Re: Zipping the files
by Samy_rio
in thread Zipping the files
by nesanhere
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |