23

How many files can a windows folder contain?

This question is asked here but then the question text pollutes the question with issues of "rules of thumb"

So to be clear, this question is: How many files can a windows folder contain?

1

1 Answer 1

32

FAT

  • 512 Files Per Folder

FAT32

  • 65,534 Files Per Folder
  • 512 Files for the root directory

NTFS

  • 4,294,967,295 Files Per Folder

(from here)

EDIT: I removed some of the additional information because it was a resulting in down votes and not really necessary to answer the question. Thanks @Richard for the constructive feedback below.

7
  • Really not sure about those numbers. FAT (all types) has always had a fairly small limit for root folders (with long file names using multiple limits), but non-root folders could keep growing (linear search means opening a file is going to get much slower with large numbers of files).
    – Richard
    Jul 31, 2009 at 10:01
  • NTFS does have a file size limit. The NTFS format limits it to 2^64 bytes, but actual driver implementation limit is significantly less (2^48 bytes IIRC).
    – Richard
    Jul 31, 2009 at 10:02
  • UPDATE: Correct data for NTFS: technet.microsoft.com/en-us/library/cc781134%28WS.10%29.aspx
    – Richard
    Jul 31, 2009 at 10:05
  • UPDATE: Correct data for FAT: file/partition size: support.microsoft.com/kb/314463 and folder entries: support.microsoft.com/kb/120138
    – Richard
    Jul 31, 2009 at 10:08
  • Any info on if/how performance degrades once one has more than a few thousand files?
    – Thilo
    Sep 2, 2009 at 2:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .