Micke,
When I tried it -
I changed the path to PACOMP and the extension array to (jpg, png, txt).
Each "expected" command line was echoed, but no archive file was created
Then I tried full path ( c:\multypes.zip ) for "my archive" but other than that my script understanding is very limited.
What did I miss?