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.

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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…
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

635 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