Zip not created when Including Hidden and System Files

Summary

Id: 1426.2
Type: Bug Bug
Current Status: Open

Detail

25 Jul 2003 Open Dave - Market-Web

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 = Nothing

However, 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?