Solved

the limits of files in a directory.

Posted on 2006-11-17
2
267 Views
Last Modified: 2010-04-18
Hi,

this is a curiocity question,  I notice that having 50 000 files in the same directory slow down explorer...  the record I have work with is 210 000 files... ( I asure you, it's not wanted ).

does windows have a limit ?  I think I reach it...

thanks
0
Comment
Question by:Martin_Dalpe
2 Comments
 
LVL 38

Accepted Solution

by:
Hypercat (Deb) earned 50 total points
ID: 17968153
There is no limit, but as you've already discovered, browsing becomes near to impossible when you get this number of files in one directory.  The nature of browsing is such that it has to enumerate all of the files in a directory before it can display them.  So, when you get into the 10's of thousands of files, you're going to be sitting looking at a blank screen for quite a while if you try to browse the directory.  In fact, the most likely result is that your system will simply choke.

You need to start creating subfolders and moving files into subfolders ASAP!!!!  I would recommend doing this from the command prompt if you can and know how, because this is probably the only way you will be able to get your system to list the files in that directory in any reasonable time frame (not that 210,000 files in one directory is even remotely reasonable).

Hope this helps!

Deb
0
 
LVL 1

Author Comment

by:Martin_Dalpe
ID: 18021843
it confirm some points.

the source of the problem, bad coding... I need to patch this until next version ..

thanks for your inputs.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

756 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