Problems using zip
Posted on 2004-03-29
I'm trying to zip a directory into a zip file (and all sub dirs and files in the that dir)
I can get it to zip fine, but it stores the directory structure BEFORE the root location of the zip.
zip myfile.zip E:\www\mydir\ziphere
It zips from the E:, not from the ziphere, so when I extract the file I get the root folders... www then mydir then finally ziphere... that doens't work for my needs (moving zip file one machin to the next) how do I suporess the storing of this early dir structure *but maintain the strucutre beyond my root)?