Zip Files ?!?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can anyone help?Here's my scenario.I need to create a macro/command that will run a zip command i.e. when I run the macro it should automatically add "c:\test1.txt", "c:\test2.txt" and "c:\test3.txt" to "c:\backup.zip"

Any idea?
 
xxx said:
Can anyone help?Here's my scenario.I need to create a macro/command that
will run a zip command i.e. when I run the macro it should automatically add
"c:\test1.txt", "c:\test2.txt" and "c:\test3.txt" to "c:\backup.zip".
Any idea?

You need a command line zip utility like pkzip or winzip's command line tool
for their latest version:

http://www.winzip.com/prodpagecl.htm

Then just shell out to the utility and feed it the paths of the files to be
zipped.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
xxx said:
Can anyone help?Here's my scenario.I need to create a macro/command that will run a zip command i.e. when I run the macro it should automatically add "c:\test1.txt", "c:\test2.txt" and "c:\test3.txt" to "c:\backup.zip".

There are also some free utilities including one open source utility.
See the Compression DLLs, OCXs, etc page at
http://www.granite.ab.ca/access/compression.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
Back
Top