Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
    
Related: superuser.com/questions/6382/… – JYelton Mar 21 '11 at 17:37
up vote 30 down vote accepted

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.

share|improve this answer
    
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 '09 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 '09 at 10:02
    
UPDATE: Correct data for NTFS: technet.microsoft.com/en-us/library/cc781134%28WS.10%29.aspx – Richard Jul 31 '09 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 '09 at 10:08
    
Any info on if/how performance degrades once one has more than a few thousand files? – Thilo Sep 2 '09 at 2:26

You must log in to answer this question.

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