Results 1 to 4 of 4

Thread: Using Windows Script that Zip Files using Winzip

  1. #1
    M P Guest

    Using Windows Script that Zip Files using Winzip

    Is it possible? I need to zip files like in this scenario:

    C:\Backup\File1.doc
    C:\Backup\File2.doc
    C:\Backup\File3.doc

    Zip to

    C:\Backup\Folder1\Files.zip


  2. #2
    McKirahan Guest
    The following could be run from the command line:
    7za.exe a -tzip C:\Backup\Folder1\Files.zip C:\Backup\File?.doc

    You could also create a text file containing a list of files
    to zip and execute it this way:
    7za.exe a -tzip C:\Backup\Folder1\Files.zip @C:\Backup\Files.txt
    where C:\Backup\Files.txt would contain
    C:\Backup\File1.doc
    C:\Backup\File2.doc
    C:\Backup\File3.doc

    The output could be logged by appending the following to the command

    Alternatively, depending on your needs, you could
    create a text file of the commands and run it via script.

    Does 7zip kave advantage with winzip interms of file size to be
    compressed?

  3. #3
    Tom Lavedas Guest
    If you have a registered copy of winzip, you can download a command
    line driven add-on free and us it via the WScript.Shell's Run method.
    See:

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

    X-Zip is free - it's a COM object that can be used from VBScript or
    anything else that can talk to COM.

  4. #4
    Join Date
    Feb 2010
    Posts
    1

    Re: Using Windows Script that Zip Files using Winzip

    Nice post.....

Similar Threads

  1. Free Winzip 10
    By Sara.S in forum Windows Software
    Replies: 4
    Last Post: 08-08-2011, 02:10 PM
  2. Useful Tips for WinZip
    By XDRoX in forum Tips & Tweaks
    Replies: 4
    Last Post: 26-02-2011, 01:18 PM
  3. Which one to use? Winzip or WinRar
    By Yasuo in forum Windows Software
    Replies: 3
    Last Post: 14-11-2009, 12:14 PM
  4. Script to convert SWF files into Images
    By Anathakrishnan in forum Software Development
    Replies: 3
    Last Post: 25-03-2009, 09:43 AM
  5. Winzip question
    By Ayaz in forum Windows Software
    Replies: 3
    Last Post: 15-01-2009, 05:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,556,899.49160 seconds with 17 queries