Maximum  Number of the File in a Directory..?

Posted on 2002-07-01
Last Modified: 2010-04-13
hello !


what is maximum number of the file(folder)  
in a directory ??

if file number is increasing in a directory,

performance is decreasing ???

Question by:jhjeon
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 12

Accepted Solution

pjknibbs earned 100 total points
ID: 7123924
There is no theoretical limit to the number of files or folders in a directory--you could, if you so wanted, have every single file on your system in the root directory (apart from the ones Windows needs, obviously) and it would all work fine. As for the speed issue, the FAT32 file system would definitely suffer slowdown as you put more and more files into a folder; I don't think NTFS would be anything like as badly affected because of the way it stores the file directory.
LVL 17

Expert Comment

ID: 7124413
There is a limit to the amount of files that can reside on the root of your C: drive and that is 256. You will get an error message and some strange occurances if you attempt to go over that number.
LVL 32

Expert Comment

ID: 7124431
The root limit of 256 ONLY applies to FAT filesystems.  If you are using NTFS (and I certainly hope you are) there is no such limitation.

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

LVL 17

Expert Comment

ID: 7124522
Ah yes, I believe you are correct Jhance, my mistake.
LVL 12

Expert Comment

ID: 7126073
jhance, mikecr: And, furthermore, the 256 file limit (originally 512, but reduced to 256 due to long filename support in Win9x) only applies to FAT16. FAT32 removed this restriction by making the root directory the same as any other directory.

Expert Comment

ID: 9490055
---- CLEAN UP ----

No comment has been added lately (459 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: [ Award points to pjknibbs ]

Please leave any comments here within the next seven days.


Rajiv Makhijani
EE Cleanup Volunteer

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
P2V Windows NT/2000 SP4 3 1,839
Active Directory Replication 10 1,154
Corrupted W2K  serverregistry 2 165
Upgrade dos 4.00.1111 11 67
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
A hard and fast method for reducing Active Directory Administrators members.
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question