Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2000 Server
It's kind of hard to explain without being able to show you but you know when you open a zip file using a utility like winzip and there is field labled "Path". If there is a path under this field the code I'm using to extract the files does not work but if the files are zipped up without including the path, the files extract without any problems.
Sample Code:
ThisForm.Olecontrol2.zipfile = zip_file
ThisForm.Olecontrol2.filespec = extract_files
ThisForm.Olecontrol2.destination = work_dir
_VFP.AUTOYIELD = .F.
ThisForm.Olecontrol2.QuietFlag = .T.
ThisForm.Olecontrol2.AllQuiet = .T.
ThisForm.Olecontrol2.OverwriteFlag = .T.
ThisForm.Olecontrol2.actiondz = 8
_VFP.AUTOYIELD = .T.
Précédent
Suivant
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