Create a Zip'ed Folder

N

N4709L

I'd like to be able to use Windows XP's built-in capability to create and
manipulate zipped folders from within VBA. My VBA program creates a folder
and places several files into this folder. Now I'd like to create a
Compressed (zipped) Folder from this unzipped folder. I can do this within
Windows Explorer by right-mouse-button clicking on the folder and selecting
Send To Compressed (zipped) Folder from the Pop-up menu.

But how does one do the equivalent under program control? I'd like to be
able to create a Compressed (zipped) Folder from within my VBA program.

Can this be done using Windows XP's built-in zip capability (involving the
zipfldr.dll capability)?

Thanks!
-Ron
 
W

Word Heretic

G'day "N4709L" <[email protected]>,

A shell command could easily ZIP <somedir>

Use whatever your cmd line is for the app.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


N4709L reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top