• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

the limits of files in a directory.

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
Martin_Dalpe
Asked:
Martin_Dalpe
1 Solution
 
Hypercat (Deb)Commented:
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
 
Martin_DalpeAuthor Commented:
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now