Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Patrick.
Thanks for your reply.
I hadnt thought of doing it that way I was checking for the existence of the Zip file which did'nt work but this is a nice solution.
I ended up using a WinZipMgr class from Rick Borup (which also uses a Wait type class from the late Ed Rauh) which works very effectively and is very well commented.
Thanks again for your help.
Regards,
Gerard
I have been working on this problem recently and found a lightweight workaround with pkzip. I start pkzip with shellexec() and start a loop trying to open the zip file for read/write access as follows;
lnfh=0
DO WHILE lnfh <= 0
INKEY(2)
lnfh=FOPEN(tcZipFileName,12)
ENDDO
FCLOSE(lnfh)
Works for both zipping and unzipping using PKZIPC.EXE
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement