in reply to $zip->addFile not working.

This is not the cause of your problem, but you should note that it is recommended that you use forward slashes rather than backslashes for paths within Perl, even on Windows boxes.

The PerlMonk tr/// Advocate