Zipping Folder to a .zip

This is a discussion on Zipping Folder to a .zip within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I am trying to write a backup program what i would like it to do is zip up a ...

  1. #1
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339

    Zipping Folder to a .zip

    Hi,

    I am trying to write a backup program what i would like it to do is zip up a folder then copy the .zip to a second hard drive.

    Does anyone know if its at all possible to zip up a folders contense to a .zip from c++? If i cant do that i think i would automate the process of zipping it, e.g open winzip then get my program to fill in nessery data. So if i cant zip up from my prog can someone tell me how i can press a button in another program, i suspect i would need to find the buttons ID then send a command message to winzip or somthing similar.

    Any help will help

    Thanks
    TNT
    TNT
    You Can Stop Me, But You Cant Stop Us All

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    look up huffman coding.

  3. #3
    Registered User johnnie2's Avatar
    Join Date
    Aug 2001
    Posts
    186
    You could also hack your way through by using command line options to minimize and manipulate Winzip.
    "Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C

  4. #4
    Registered User The15th's Avatar
    Join Date
    Aug 2001
    Posts
    125
    if you fail to understand huffman coding then use Zlib. It is a C libary for compression.
    arrh, i got nothing good to say.
    http://www.praxis1.vic.edu.au/home/dcola/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading .dat files from a folder in current directory...
    By porsche911nfs in forum C++ Programming
    Replies: 7
    Last Post: 04-04-2009, 09:52 PM
  2. accessing all files in a folder.
    By pastitprogram in forum C++ Programming
    Replies: 15
    Last Post: 04-30-2008, 10:56 AM
  3. Not able to access directory of home folder
    By Bargi in forum Linux Programming
    Replies: 1
    Last Post: 02-06-2008, 01:45 AM
  4. read only folder on Windows
    By George2 in forum Windows Programming
    Replies: 2
    Last Post: 11-05-2007, 08:18 AM
  5. Hiding a folder
    By nextstep in forum Windows Programming
    Replies: 16
    Last Post: 03-20-2005, 02:07 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21