Hi,
I have recently upgraded from version 3.5 to 6.1. I followed the migration procedured outlined in the documentation. Performing the zip method using version 3.5 and 6.1 does not yield the same files in the zip files.
- .Recurse = True ----------------------> .ProcessSubfolders = True
- .UsePaths = True ----------------------> .PreservePaths=True
- .Add(xecAll) -----------------------------> .Zip
Attempting to zip the contents of c:\temp\*996663*
3.5 - creates a zip file containing
- Any files that match the pattern *996663* in c:\temp are zipped
- Any folders/subfolders that match the pattern *996663* and all their contents are zipped
6.1 - creates a zip file containing
- Any files in c:\temp that match the pattern *996663*
For 6.1 I subsequently modified the wildcard from c:\temp\*996663* to c:\temp\*996663*\* which yielded better results
6.1 - creates a zip file containing
- Any folders/subfolders from c:\temp that match the pattern *996663* and all their contents are zipped
- It does not zip any files from c:\temp that match the pattern *996663*
Is there a way to check both files/folders in one step. I am trying to minimise the amount of code change between both versions which will be helpful when it comes to the regressional testing.
Your help will be much appreciated,
Marlise Burke