Extra C_ directory in using ZipFile

Colin Brown cbrown at metservice.com
Mon Jan 20 14:57:53 EST 2003


"Mak" <makwaiming at yahoo.com> wrote in message
>
> I am using zipFile to zip files for backup purpose. Everything seems
> to work fine except it create extra C_ directory when I try to unzip
> it using winzip 8.0. For example, if I zip up c:\abc\def and unzip
> right away. It will create directory tree like c:\C_\abc\def
>

Hi Mak

I came across exactly the same problem a little while ago. It seems to be a
"feature"
of zipFile.  If you remove the drive name "c:" from the files you are
zipping up then
the zipfile becomes winzip compatible.

Cheers
Colin Brown
PyNZ







More information about the Python-list mailing list