Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to unzip files in VFP on Windows 2003 Server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Divers
Thread ID:
01121031
Message ID:
01121089
Vues:
10
You have to provide full file name, ex. cFileZip = "C:\whatever\import\usgen.zip". The same goes for destination directory.

>>Could you post here your code exactly as it is? And please show, on what line the error occurs.
>
>
>cFileZip = "import\usgen.zip"
>cDestination = "import\"
>
>o = CREATEOBJECT("shell.application")
>
>FOR EACH ofile IN o.NameSpace(cFileZip).items
>    o.NameSpace(cDestination).copyhere(ofile)
>ENDFOR
>
>
>The error occurs on the FOR EACH line. Any ideas?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform