zipping folder with dot in name

Hi all,

I’m using for zipping the string

do shell script "zip -r " & quoted form of toZipFile & " " & whichFolder

It works OK until no dot(s) in the name of whichFolder.
Unfortunately changing the folder name is not acceptable.

Is any solution of this problem?

do shell script "zip -r " & quoted form of toZipFile & " " & quoted form of whichFolder

Anyway dont works
Error reported:
Finder got an error: zip warning: missing end signature–probably not a zip file

But if I delete dot it works fine

You might try changing the name of the folder to zipper, doing your zip, and then changing the name back.