Yes. but the ZipFile function will return a .F. indicating that failed to add it to the zip file.
>If i remember correctly, VFPCompression.fll skips files that are open in shared use. Does that ring a bell?
>
>>>Anyone have a version of VfpCompression.fll where the ZipFolder method supports the exclusion of files in a specified folder based on a supplied list of file extensions?
>>
>>From a tool I created. Start by downloading my Query tool at
http://www.GLRsoftware.com/download/query.zip. The following reads the files (FROM FILE), and creates a zip file (INTO ZIP). If the VFPcompression.fll is present, it is used.
>>
>>
>>
>>TEXT TO lcSQL NOSHOW TEXTMERGE
>> SELECT * FROM FILE "prgs\*.*" ;
>> WHERE NOT UPPER(JUSTEXT(Name)) IN ("FXP","BAK","ERR") ;
>> INTO ZIP "test.zip"
>>ENDTEXT
>>? Query( lcSQL )
>>
>>
>>You may have to play with the SQL statement to get the desired results.
Greg Reichert