I am able to create a zip file without problems using the following code :
Set m_cZ = New cZip m_cZ.ZipFile = "c:\___pics\____TZip.zip" m_cZ.BasePath = "c:\subscribers" m_cZ.ClearFileSpecs m_cZ.StoreFolderNames = True m_cZ.RecurseSubDirs = True m_cZ.AddFileSpec "*.*" m_cZ.IncludeSystemAndHiddenFiles = True m_cZ.ZipSet m_cZ = NothingHowever, when I add the line of code " m_cZ.IncludeSystemAndHiddenFiles = True ", nothing happens. No zip file, nothing !
Without that line all works well, but the hidden files are excluded from the zip file.
Can you please tell me how to get the file to include the hidden and system files?
|