Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Zipping unZipping from within VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00939436
Message ID:
00939545
Views:
14
Does that also handle zipping?
Or just unzipping?

Peter



>If you have Windows XP you can unzip your files using the Windons XP unzip function with Shell.application. Although I have yet to figure how to zip them.
>
>
cFileZip = "C:\temp\D401001F.ZIP"
>cDestination = "c:\temp\"
>
>o=CREATEOBJECT("shell.application")
>FOR EACH ofile IN o.NameSpace(cFileZip).items
>    o.NameSpace(cDestination).copyhere(ofile)
>ENDFOR
Peter Cortiel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform