File Limit Per Directory in Windows CE?


I was wondering if anybody has any information about this issue. I've run into a problem where at around 1,000 files within a directory, no more files can be written out (to the directory in question).  When removing the compact flash and putting it in a SanDisk reader at my PC, there seems to be no problem at all.  This problem has been replicated with a variety of compact flash disks (Type I and II/CF+) and occurs on WinCE .NET v4.1 and v4.2.  The number isn't exact.  Sometimes it is 995.  Another time it will be 1045, 1024, or 998, etc.  But, it does seem to occur frequently @ ~1,000 files.  I haven't found any documented issues of this type, so I would greatly appreciate any information that anybody might have.

OS: Windows CE .NET (4.1 & 4.2)
Media: Compact flash type I (SanDisk, FujiDisk, Memorex), type II (Hitachi Microdrive)
Board: ARCOM GX1, ARCOM Viper

Again, any help would be greatly appreciated.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CF cards has a some what strange Fat format, but the basic guide line is:
FAT16- 512
FAT32- 65,534 files or folders per folder

for both case the mazimum file size of a folder is 4GB

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Smartphone Programming

From novice to tech pro — start learning today.