Chris said:
I should clarify myself on the compressing files. I am
needing to take 24 files from each and compress them, zip
or rar them into a zip or rar file, etc. I need to do
this using VBscript or WHS. The other thing I guess is
there a way to call a command line or command prompt from
a VB script or WHS script that would allow you to call
upon a zip or rar program to zip or rar the files. Any
suggestions would be helpful
Hi
You can use the Run method and shell out and call a command line based zip
program, or you can use an ActiveX component to do this from a script.
Command line:
ZipGenius has a command line interface (freeware)
http://www.zipgenius.it/
WinZip Command Line Support Add-On
http://www.winzip.com/wzcline.htm
PowerArchiver has a command line version as well:
http://www.powerarchiver.com
From: Ross Presser (
[email protected])
Subject: Re: Programatically controlling file compression/zip
Newsgroups: microsoft.public.scripting.wsh
Date: 2003-06-25 13:20:53 PST
<quote>
Forget the dlls. Get zip.exe and unzip.exe from INFO-ZIP - command line
tools that do things like
zip foo.zip c:/path/files/*
unzip -d c:/path/files/ foo.zip
<
http://www.info-zip.org/pub/infozip/UnZip.html#Win32>
</quote>
Using a COM component:
From: Atrax _ (
[email protected])
Subject: Re: zipping a file via vb and wsh
Newsgroups: microsoft.public.scripting.wsh
Date: 2002-12-10 19:36:08 PST
<quote>
There's a lightweight ZIP component I wrote at :
http://rtfm.atrax.co.uk/boards/asp.asp?action=viewPost&postID=295
I still; haven't got around to documenting it fully, though, and I
haven't released the 'full' version yet.
</quote>
Here is a couple of not free COM components:
Polar ZIP
http://www.polarsoftware.com/products/zip/index.html
DynaZIP:
http://www.innermedia.com/Products/Zip-compression/zip-compression.htm