Re: WinZip vs. WinRar



On Sun, 17 Sep 2006 02:15:47 GMT, "Sophie Adams"
Paul Johnson wrote:

I wouldn't bother with WinZip, and rar files are a pain since you
have to get a seperate program on most OS's to deal with rar, but zip
is common on Windows and Linux both.

On the one hand, we might say "get the one that supports the biggest
range of archives, so I can extract them all!"

On the other hand, if you just use one or two formats, why "support"
the rest, when the most likely reason to need oddball formats is
because malware use them to circumvent av scanning and/or exploit bugs
within the extraction code?

As at 2006, I'm leaning in favor of the latter.

XP calls .zip files compressed folders, and work just like folders in
Windows. Sure beats dealing with WinZip or WinRar...

Not quite true - there are three types of general lossless compression
that XP can use at the file system level:

1) DOS-era disk compression

This is a hangover from the Stacker and MS-DOS 6.xx days, and is
possible only on FAT16 volumes. What appears to be a hard drive
volume is in fact a single CVF (Compressed Volume File) on a "real"
volume, and the OS's file system code handles compression in and out
of this CVF file transparently. Never was a good idea; pointless now.

2) Native support for archives as "compressed folders"

This is what you are referring to. The shell may gloss over this
fact, but all "compressed folders" are really .CAB or .ZIP archive
files that are visualized as if they were file folders. Unlike disk
compression (FAT16) and file compression (NTFS), native archive
support applies to all types of file systems.

3) NTFS file compression

The NTFS file system supports native file compression on NTFS volumes
with particular (and typical) cluster sizes. Such files may be shown
in blue within the shell, if that feature is enabled. In addition to
this, NTFS supports "sparse" files which do not compress the contents,
but omit storing large sections of zeros, indicating they should be
inserted at that point in the file instead.


MS's native support for archives as folders is far from seamless:
- navigating Explorer into archive opens new single-panel window
- the proper full path is not displayed, in title bar or on Search
- processing of damaged archives is buggy

I stumbled on the latter by accident, when copying files out of a .zip
(viewed as a "folder" in native XP with no 3rd-party archivers). The
copy process showed no errors, but not all selected files were copied
out - and the only way I'd know this, is if I checked. If I
deselected one particular file, copy would work, but selecting that
file caused the copy operation to silently abort.

Checking the .ZIP on another PC with WinZip showed that although
WinZip would open the archive OK, it would generate an "invalid
compression" error when processing the affected file within the
archive. MS's code seemed not to detect this error condition at all,
and just silently aborted instead.

ZIP files work "just like folders"? Really? So you can run
applications right from a ZIP file? No, you can't--you need to extract
the archive first.

Let's test that... yes, such is the case when tested running ERUNT's
..exe from within the archive that contained it.

There are many good archivers, for both Windows and Linux, that can open
RAR files. Many of them are free.

If I'm not using .RAR files, I'd rather not have the system enabled to
"open" them. One less exploit surface to worry about :-)



------------ ----- --- -- - - - -
Drugs are usually safe. Inject? (Y/n)
------------ ----- --- -- - - - -
.



Relevant Pages

  • Re: Looking for a copy of TDLs ZASM
    ... HOW do I get the files out of the .lbr File ... Some archives are self extracting, ... One very good library extract program is called lbrext.com. ... current compression standards. ...
    (comp.os.cpm)
  • Re: zlib and zip files
    ... I need to decompress zip archive. ... The zlib module is for reading and writing the gzip compression format, used by the gzip program; it is not the same as a zip archive a la PKZip. ... The zipfile module will let you read and write zip archives. ... The gzip compressor and decompressor can work on the fly, but the format that it produces is a bit other than the format of compressed data zipfile. ...
    (comp.lang.python)
  • Re: Disk Clean UP
    ... File compression overview ... the files and folders stored on that drive. ... NTFS compression versus Compressed Folders ... as well as entire NTFS drives. ...
    (microsoft.public.windowsxp.general)
  • Re: Compression figures, anyone?
    ... On Fri, 5 Sep 2008, Greg Price wrote: ... Zipping text can get 75% to 90% compression (ie. reducing the ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ... Search the archives at http://bama.ua.edu/archives/ibm-main.html ...
    (bit.listserv.ibm-main)
  • Re: Alternative to arj
    ... Linux Journal reviewed compression tools in issue 137: ... An integrated tool like that would go against the unix philosophy of ... create archives are cpio and tar. ... you would use an external tool (gpg) for that. ...
    (Debian-User)