Thankyou very much JC. I'll try it!
Sent by jc clerc on 05/12/2008 02:36:01 AM:
I use the program Freebyte to create Zip backup using Foxweb 4.3. (http://www.brothersoft.com/freebyte-zip-81517.html)
I have installed it in a directory called "freebyte"
No problem at all
filelink=allt(sys(3))+"backup.zip" &&(in order to keep the file name)
processx='c:\freebyte\fbzip.exe -a -p -r "'+filename+'" "c:\dirwithfilestozip\*.dbf"'
processx='c:\freebyte\fbzip.exe -a -p -r "'+filename+'" "c:\dirwithfilestozip\*.fpt"'
<a href="<%=filelink%>">Get the zip file</a>
Sent by Carlos Fuertes on 04/27/2008 02:53:59 PM:
I have been using this code in a foxweb script for years with the Foxweb 2.6 release and it has worked fine, but now, with the last version 4.0 running in Windows Vista, it doesn't work anymore:
LOCAL lcAvisoPRG, lcAvisoZIP, lcAvisoEXE, lcDirectorio
lcDirectorio = "C:\MANTEMAIL\200302208ZARA"
lcAvisoZIP = lcDirectorio+"\Aviso.ZIP"
lcAvisoEXE = lcDirectorio+"\Aviso.EXE"
RUN/N2 C:\wzzip.exe &lcAvisoZIP &lcAvisoEXE