Possible Duplicate:
Create an archive from a directory without the directory name being added to the archive
I would like to zip all content and folders from a folder to a ZIP file.
I have a folder 1 with the folder update in it. The contents of \update\ should be zipped so that those files and folders are in the root of the zip file update.zip. I still want to run the cmd command from inside folder 1.
Now I have this command:
7za a -tzip update.zip "update"
It zips the update folder too, but I don't want that to be included.
The command should work under Windows XP and Windows 7.