How does Windows decide whether to use Deflate or Deflate64 for zipping files?

suraj gharat 1 Reputation point
2022-08-16T13:30:13.323+00:00

Windows Explorer uses the Deflate64 compression method for its zip files, rather than the Deflate Is this behaviour even consistent across "current" Windows versions?

I tried one way
I created one zip file whose size is 2.69 gb and one folder whose size is more than 1.23
after zipping both of them zip file was created using Defalte 64 and its size was 3.19 gb

Basically i want know how does windows decide whether to zip the file in defalte 64 or deflate , what are conditions requried to cretae deflate 64 zip file,
Can any one let me know please
Thanks In Advance

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2022-09-05T09:11:46.507+00:00

    Hi.
    Windows 7/8/10 all use Deflate64.
    And the number of files in zip is independent of the type of compression selected.


  2. S.Sengupta 24,476 Reputation points MVP
    2022-09-08T00:32:40.593+00:00

    Use the Deflate compression method. This is the standard compression and decompression algorithm used by the PKZIP 2.04g format. This algorithm provides fast compression and decompression speeds and achieves pretty good compression.

    Deflate64 compression method takes longer to compress data than Deflate, but it provides better compression.


  3. Castorix31 90,681 Reputation points
    2022-10-31T12:10:14.2+00:00

    On my OS, Windows 10 21H1, it uses Deflate64 when the sum of original files sizes is > 2 GB


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.