If you are using VFP 5.0 check out
http://ourworld.compuserve.com/homepages/Stephen_Darlington/addzip.htmThey have an OCX that is pkzip compatable.
Charles
>I thought about using the RUN command to zip some files using PKZip software (DOS version) in Visual FoxPro 5.
>
>For example:
>RUN pkzip c:\zipfiles\mydata.zip c:\datafile\mydata.dbf
>
>But what happens is that the FoxPro software executables get zipped instead of my data file. I guess it is because I have those parameters following the PKZip executable and they are not being used nor seen by Visual FoxPro's RUN command.
>
>How can I fix the problem. Is there a better way to run PKZip (DOS version) from Visual FoxPro? Help please. And thank you.
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers