VBScript: compress(zip) multiple files

Posted on 2004-11-03
Last Modified: 2008-02-01
Hello everyone,

I need a vbscript file that compresses multiple files/folders into one zip file. ( I need to compress log files, since they take a lot of space).
I do have some experience with VBScript

Any help is deeply, deeply appreciated.

Question by:gentianhila
    LVL 19

    Accepted Solution

    You can do it if you have WinZip full version installed (i.e. the commandLine utility installed)


    Assisted Solution

    Another way is to integrate the zipping into your app.  I'm also trying to do this - using SharpZIP (google it).  I'm not there yet, but have had some level of success.

    You can also use the command line utility for 7z (7zip), which is free.  This is a little restrictive in terms of path relativities though.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now