In mZip.VBZip, if the BasePath is set, the current directory is changed. However, if you're zipping on another drive then you need to change the drive also using ChDrive unless the path is a full UNC path. My solution was simply:
If Left(m_czip.BasePath,1) <> "\" Then
ChDrive m_czip.basepath
End If
inserted after the chdir line. you might want to put in a more all-encompassing solution though!
|