Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to unzip files in VFP on Windows 2003 Server
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01121031
Message ID:
01121089
Views:
9
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform