ziping files...

This is a discussion on ziping files... within the Tech Board forums, part of the Community Boards category; I was wondering, is zipping a file through right click have to do with command lines? Or should I say, ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    731

    ziping files...

    I was wondering, is zipping a file through right click have to do with command lines? Or should I say, is it possible to zip a file through a command line or program?

    I am using windows xp home.
    Last edited by Rune Hunter; 01-22-2005 at 08:18 PM.

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    >>is it possible to zip a file through a command line or program?

    on linux i can zip using ...
    Code:
    zip <NameOfZip.zip> <files>

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    hmm so I am guessing you can do it on windows. Sorry I should have said before, I am using windows xp.

  4. #4
    Registered User Scribbler's Avatar
    Join Date
    Sep 2004
    Location
    Aurora CO
    Posts
    266
    You have to have a command line version of a Zip/Compression utility to do it from the Dos prompt.

    My personal preference is 7-zip which supports many many different compression formats. Here's some Linkage.

  5. #5
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    thank you very much, this helps alot!

  6. #6
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,904
    Rune Hunter, winrar supports command line zipping, I've done it from a program before so I know it works.

    C:\Program Files\WinRAR\rar.txt

    There ya go.

    Uploaded in case you can't find it for some reason.

    Get winrar here:
    http://rarlab.com
    Attached Files Attached Files

  7. #7
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    It looks like you already have your solution, but incase you wanted to know the command line equivalnt of the built in compression in Windows XP can be used by the command COMPACT. Type COMPACT /? for more info of course

  8. #8
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    yes that rar.txt file is exactly what I needed! Thank you all so much!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. add source files to embedded VC 4.0
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 04:28 AM
  2. *.cpp and *.h files understanding
    By ElastoManiac in forum C++ Programming
    Replies: 4
    Last Post: 06-11-2006, 05:45 AM
  3. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  4. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM
  5. header and source files
    By gtriarhos in forum C Programming
    Replies: 3
    Last Post: 10-02-2005, 04:16 AM

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