Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Maximum  Number of the File in a Directory..?

Posted on 2002-07-01
Medium Priority
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 300 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.

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

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…
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

715 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