Is there a limit to the maximum number of files per directory (or folder)?

thanks,
sam

Re: FileSystem(CE5)-maximum number of files per directory by Silver

Silver
Thu Apr 17 10:45:29 PDT 2008

FAT has the same limitations as FAT elsewhere. FAT16 can hold about 64K
files total, the root directory has a limit of 512 files.
FAT32 has much higher limits of around 2^28 files total (4 bits were used as
a tag), 64K files/directory.

Geoff
--


Re: FileSystem(CE5)-maximum number of files per directory by Chris

Chris
Thu Apr 17 10:55:07 PDT 2008

Yes, FAT32 has well-documented limitations.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"sampeper" <sampeper@discussions.microsoft.com> wrote in message
news:D9E00F68-920F-4BFD-AA8A-EE8D7E2C818D@microsoft.com...
> Is there a limit to the maximum number of files per directory (or folder)?
>
> thanks,
> sam



Re: FileSystem(CE5)-maximum number of files per directory by sampeper

sampeper
Thu Apr 17 11:11:01 PDT 2008

if i try to write more than 2000 file in one directory than i could not open
this directory again?
is the problem in the filename....any limitation?
i use filename like this 1.txt;2.txt;..........2000.txt

thanks

"Silver" wrote:

> FAT has the same limitations as FAT elsewhere. FAT16 can hold about 64K
> files total, the root directory has a limit of 512 files.
> FAT32 has much higher limits of around 2^28 files total (4 bits were used as
> a tag), 64K files/directory.
>
> Geoff
> --
>
>

Re: FileSystem(CE5)-maximum number of files per directory by Paul

Paul
Thu Apr 17 11:11:03 PDT 2008

I'm kind of wondering if you're asking about the object store filesystem?
What hardware is this filesystem on? Inserted card? On-board flash? It's
the object store?

Paul T.

"sampeper" <sampeper@discussions.microsoft.com> wrote in message
news:D9E00F68-920F-4BFD-AA8A-EE8D7E2C818D@microsoft.com...
> Is there a limit to the maximum number of files per directory (or folder)?
>
> thanks,
> sam



Re: FileSystem(CE5)-maximum number of files per directory by Silver

Silver
Thu Apr 17 12:44:34 PDT 2008

What path are you writing to?

Re: FileSystem(CE5)-maximum number of files per directory by sampeper

sampeper
Thu Apr 17 13:47:00 PDT 2008

the hardware are a inserted card(compact flash card).
i am creating a directory on this card and when i try to write more than
2000 file in this directory i get the problem ---> could not access to the
directory

"Paul G. Tobey [eMVP]" wrote:

> I'm kind of wondering if you're asking about the object store filesystem?
> What hardware is this filesystem on? Inserted card? On-board flash? It's
> the object store?
>
> Paul T.
>
> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
> news:D9E00F68-920F-4BFD-AA8A-EE8D7E2C818D@microsoft.com...
> > Is there a limit to the maximum number of files per directory (or folder)?
> >
> > thanks,
> > sam
>
>
>

Re: FileSystem(CE5)-maximum number of files per directory by Paul

Paul
Thu Apr 17 14:01:17 PDT 2008

OK, so that's almost a 100% probability to be one of the FAT variations.
How big is the card? That is, what's its capacity? Anything measured in MB
is likely to be FAT12 or FAT16 and you won't be able to write more than 512
files, likely, to any folder on the card. It's kind of baffling as to why
you'd want to, anyway. That probably indicates that you have a design flaw,
where maybe you should be creating a smaller number of larger files or
something of that nature. Anyway, yes, you're running into a limitation.

Paul T.

"sampeper" <sampeper@discussions.microsoft.com> wrote in message
news:89F7D723-7509-4678-817E-200BEDFC451A@microsoft.com...
> the hardware are a inserted card(compact flash card).
> i am creating a directory on this card and when i try to write more than
> 2000 file in this directory i get the problem ---> could not access to the
> directory
>
> "Paul G. Tobey [eMVP]" wrote:
>
>> I'm kind of wondering if you're asking about the object store filesystem?
>> What hardware is this filesystem on? Inserted card? On-board flash?
>> It's
>> the object store?
>>
>> Paul T.
>>
>> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
>> news:D9E00F68-920F-4BFD-AA8A-EE8D7E2C818D@microsoft.com...
>> > Is there a limit to the maximum number of files per directory (or
>> > folder)?
>> >
>> > thanks,
>> > sam
>>
>>
>>



Re: FileSystem(CE5)-maximum number of files per directory by sampeper

sampeper
Thu Apr 17 14:59:00 PDT 2008

it's a 1 GByte Compact Flash Karte.
path: CE Device\hard disk2\Neu folder\{1;.......512 files}
you mean in my case i write in the root directory(limit of 512 files)...?
but i can write until a 2000 files in one directory without any problem!!!

"Paul G. Tobey [eMVP]" wrote:

> OK, so that's almost a 100% probability to be one of the FAT variations.
> How big is the card? That is, what's its capacity? Anything measured in MB
> is likely to be FAT12 or FAT16 and you won't be able to write more than 512
> files, likely, to any folder on the card. It's kind of baffling as to why
> you'd want to, anyway. That probably indicates that you have a design flaw,
> where maybe you should be creating a smaller number of larger files or
> something of that nature. Anyway, yes, you're running into a limitation.
>
> Paul T.
>
> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
> news:89F7D723-7509-4678-817E-200BEDFC451A@microsoft.com...
> > the hardware are a inserted card(compact flash card).
> > i am creating a directory on this card and when i try to write more than
> > 2000 file in this directory i get the problem ---> could not access to the
> > directory
> >
> > "Paul G. Tobey [eMVP]" wrote:
> >
> >> I'm kind of wondering if you're asking about the object store filesystem?
> >> What hardware is this filesystem on? Inserted card? On-board flash?
> >> It's
> >> the object store?
> >>
> >> Paul T.
> >>
> >> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
> >> news:D9E00F68-920F-4BFD-AA8A-EE8D7E2C818D@microsoft.com...
> >> > Is there a limit to the maximum number of files per directory (or
> >> > folder)?
> >> >
> >> > thanks,
> >> > sam
> >>
> >>
> >>
>
>
>

Re: FileSystem(CE5)-maximum number of files per directory by Paul

Paul
Thu Apr 17 15:27:54 PDT 2008

Hmmm. Well, that's in the range of uncertain what format it would be in from
the factory. I would guess that roughly 50% would arrive as FAT16 and the
other 50% FAT32. FAT32 shouldn't be a problem, but FAT16 will be. I
suppose that you could reformat it on your computer to set, specifically,
what format you want.

In what directory can you write 2000 files? In what directory do you have
problems?

Paul T.

"sampeper" <sampeper@discussions.microsoft.com> wrote in message
news:8D9D1A69-C5EB-49DC-BE8B-7897962CE136@microsoft.com...
> it's a 1 GByte Compact Flash Karte.
> path: CE Device\hard disk2\Neu folder\{1;.......512 files}
> you mean in my case i write in the root directory(limit of 512 files)...?
> but i can write until a 2000 files in one directory without any problem!!!
>
> "Paul G. Tobey [eMVP]" wrote:
>
>> OK, so that's almost a 100% probability to be one of the FAT variations.
>> How big is the card? That is, what's its capacity? Anything measured in
>> MB
>> is likely to be FAT12 or FAT16 and you won't be able to write more than
>> 512
>> files, likely, to any folder on the card. It's kind of baffling as to
>> why
>> you'd want to, anyway. That probably indicates that you have a design
>> flaw,
>> where maybe you should be creating a smaller number of larger files or
>> something of that nature. Anyway, yes, you're running into a limitation.
>>
>> Paul T.
>>
>> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
>> news:89F7D723-7509-4678-817E-200BEDFC451A@microsoft.com...
>> > the hardware are a inserted card(compact flash card).
>> > i am creating a directory on this card and when i try to write more
>> > than
>> > 2000 file in this directory i get the problem ---> could not access to
>> > the
>> > directory
>> >
>> > "Paul G. Tobey [eMVP]" wrote:
>> >
>> >> I'm kind of wondering if you're asking about the object store
>> >> filesystem?
>> >> What hardware is this filesystem on? Inserted card? On-board flash?
>> >> It's
>> >> the object store?
>> >>
>> >> Paul T.
>> >>
>> >> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
>> >> news:D9E00F68-920F-4BFD-AA8A-EE8D7E2C818D@microsoft.com...
>> >> > Is there a limit to the maximum number of files per directory (or
>> >> > folder)?
>> >> >
>> >> > thanks,
>> >> > sam
>> >>
>> >>
>> >>
>>
>>
>>



Re: FileSystem(CE5)-maximum number of files per directory by sampeper

sampeper
Thu Apr 17 15:53:01 PDT 2008

in this directory:\CF Card\sample\
i can write until 2000 files with no problems.
will have a problems if i write more than 2000 files in the directory
(sample)===> directory(sample) no more readably

"Paul G. Tobey [eMVP]" wrote:

> Hmmm. Well, that's in the range of uncertain what format it would be in from
> the factory. I would guess that roughly 50% would arrive as FAT16 and the
> other 50% FAT32.what directory can you write 2000 files FAT32 shouldn't be a problem, but FAT16 will be. I
> suppose that you could reformat it on your computer to set, specifically,
> what format you want.
>
> In ? In what directory do you have
> problems?
>
> Paul T.
>
> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
> news:8D9D1A69-C5EB-49DC-BE8B-7897962CE136@microsoft.com...
> > it's a 1 GByte Compact Flash Karte.
> > path: CE Device\hard disk2\Neu folder\{1;.......512 files}
> > you mean in my case i write in the root directory(limit of 512 files)...?
> > but i can write until a 2000 files in one directory without any problem!!!
> >
> > "Paul G. Tobey [eMVP]" wrote:
> >
> >> OK, so that's almost a 100% probability to be one of the FAT variations.
> >> How big is the card? That is, what's its capacity? Anything measured in
> >> MB
> >> is likely to be FAT12 or FAT16 and you won't be able to write more than
> >> 512
> >> files, likely, to any folder on the card. It's kind of baffling as to
> >> why
> >> you'd want to, anyway. That probably indicates that you have a design
> >> flaw,
> >> where maybe you should be creating a smaller number of larger files or
> >> something of that nature. Anyway, yes, you're running into a limitation.
> >>
> >> Paul T.
> >>
> >> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
> >> news:89F7D723-7509-4678-817E-200BEDFC451A@microsoft.com...
> >> > the hardware are a inserted card(compact flash card).
> >> > i am creating a directory on this card and when i try to write more
> >> > than
> >> > 2000 file in this directory i get the problem ---> could not access to
> >> > the
> >> > directory
> >> >
> >> > "Paul G. Tobey [eMVP]" wrote:
> >> >
> >> >> I'm kind of wondering if you're asking about the object store
> >> >> filesystem?
> >> >> What hardware is this filesystem on? Inserted card? On-board flash?
> >> >> It's
> >> >> the object store?
> >> >>
> >> >> Paul T.
> >> >>
> >> >> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
> >> >> news:D9E00F68-920F-4BFD-AA8A-EE8D7E2C818D@microsoft.com...
> >> >> > Is there a limit to the maximum number of files per directory (or
> >> >> > folder)?
> >> >> >
> >> >> > thanks,
> >> >> > sam
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>

Re: FileSystem(CE5)-maximum number of files per directory by Paul

Paul
Thu Apr 17 16:03:20 PDT 2008

Huh? This, " (sample)===> directory(sample) no more readably" makes no
sense.

We've already said that there is a limit. What's your question, at this
point?

Paul T.

"sampeper" <sampeper@discussions.microsoft.com> wrote in message
news:50906BE1-5C87-443B-B56F-9AA429B42260@microsoft.com...
> in this directory:\CF Card\sample\
> i can write until 2000 files with no problems.
> will have a problems if i write more than 2000 files in the directory
> (sample)===> directory(sample) no more readably
>
> "Paul G. Tobey [eMVP]" wrote:
>
>> Hmmm. Well, that's in the range of uncertain what format it would be in
>> from
>> the factory. I would guess that roughly 50% would arrive as FAT16 and
>> the
>> other 50% FAT32.what directory can you write 2000 files FAT32 shouldn't
>> be a problem, but FAT16 will be. I
>> suppose that you could reformat it on your computer to set, specifically,
>> what format you want.
>>
>> In ? In what directory do you have
>> problems?
>>
>> Paul T.
>>
>> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
>> news:8D9D1A69-C5EB-49DC-BE8B-7897962CE136@microsoft.com...
>> > it's a 1 GByte Compact Flash Karte.
>> > path: CE Device\hard disk2\Neu folder\{1;.......512 files}
>> > you mean in my case i write in the root directory(limit of 512
>> > files)...?
>> > but i can write until a 2000 files in one directory without any
>> > problem!!!
>> >
>> > "Paul G. Tobey [eMVP]" wrote:
>> >
>> >> OK, so that's almost a 100% probability to be one of the FAT
>> >> variations.
>> >> How big is the card? That is, what's its capacity? Anything measured
>> >> in
>> >> MB
>> >> is likely to be FAT12 or FAT16 and you won't be able to write more
>> >> than
>> >> 512
>> >> files, likely, to any folder on the card. It's kind of baffling as to
>> >> why
>> >> you'd want to, anyway. That probably indicates that you have a design
>> >> flaw,
>> >> where maybe you should be creating a smaller number of larger files or
>> >> something of that nature. Anyway, yes, you're running into a
>> >> limitation.
>> >>
>> >> Paul T.
>> >>
>> >> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
>> >> news:89F7D723-7509-4678-817E-200BEDFC451A@microsoft.com...
>> >> > the hardware are a inserted card(compact flash card).
>> >> > i am creating a directory on this card and when i try to write more
>> >> > than
>> >> > 2000 file in this directory i get the problem ---> could not access
>> >> > to
>> >> > the
>> >> > directory
>> >> >
>> >> > "Paul G. Tobey [eMVP]" wrote:
>> >> >
>> >> >> I'm kind of wondering if you're asking about the object store
>> >> >> filesystem?
>> >> >> What hardware is this filesystem on? Inserted card? On-board
>> >> >> flash?
>> >> >> It's
>> >> >> the object store?
>> >> >>
>> >> >> Paul T.
>> >> >>
>> >> >> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
>> >> >> news:D9E00F68-920F-4BFD-AA8A-EE8D7E2C818D@microsoft.com...
>> >> >> > Is there a limit to the maximum number of files per directory (or
>> >> >> > folder)?
>> >> >> >
>> >> >> > thanks,
>> >> >> > sam
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>



Re: FileSystem(CE5)-maximum number of files per directory by sampeper

sampeper
Thu Apr 17 16:44:00 PDT 2008

ok tomorrow will see which format have my CF Card.

thank,
sam

"Paul G. Tobey [eMVP]" wrote:

> Huh? This, " (sample)===> directory(sample) no more readably" makes no
> sense.
>
> We've already said that there is a limit. What's your question, at this
> point?
>
> Paul T.
>
> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
> news:50906BE1-5C87-443B-B56F-9AA429B42260@microsoft.com...
> > in this directory:\CF Card\sample\
> > i can write until 2000 files with no problems.
> > will have a problems if i write more than 2000 files in the directory
> > (sample)===> directory(sample) no more readably
> >
> > "Paul G. Tobey [eMVP]" wrote:
> >
> >> Hmmm. Well, that's in the range of uncertain what format it would be in
> >> from
> >> the factory. I would guess that roughly 50% would arrive as FAT16 and
> >> the
> >> other 50% FAT32.what directory can you write 2000 files FAT32 shouldn't
> >> be a problem, but FAT16 will be. I
> >> suppose that you could reformat it on your computer to set, specifically,
> >> what format you want.
> >>
> >> In ? In what directory do you have
> >> problems?
> >>
> >> Paul T.
> >>
> >> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
> >> news:8D9D1A69-C5EB-49DC-BE8B-7897962CE136@microsoft.com...
> >> > it's a 1 GByte Compact Flash Karte.
> >> > path: CE Device\hard disk2\Neu folder\{1;.......512 files}
> >> > you mean in my case i write in the root directory(limit of 512
> >> > files)...?
> >> > but i can write until a 2000 files in one directory without any
> >> > problem!!!
> >> >
> >> > "Paul G. Tobey [eMVP]" wrote:
> >> >
> >> >> OK, so that's almost a 100% probability to be one of the FAT
> >> >> variations.
> >> >> How big is the card? That is, what's its capacity? Anything measured
> >> >> in
> >> >> MB
> >> >> is likely to be FAT12 or FAT16 and you won't be able to write more
> >> >> than
> >> >> 512
> >> >> files, likely, to any folder on the card. It's kind of baffling as to
> >> >> why
> >> >> you'd want to, anyway. That probably indicates that you have a design
> >> >> flaw,
> >> >> where maybe you should be creating a smaller number of larger files or
> >> >> something of that nature. Anyway, yes, you're running into a
> >> >> limitation.
> >> >>
> >> >> Paul T.
> >> >>
> >> >> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
> >> >> news:89F7D723-7509-4678-817E-200BEDFC451A@microsoft.com...
> >> >> > the hardware are a inserted card(compact flash card).
> >> >> > i am creating a directory on this card and when i try to write more
> >> >> > than
> >> >> > 2000 file in this directory i get the problem ---> could not access
> >> >> > to
> >> >> > the
> >> >> > directory
> >> >> >
> >> >> > "Paul G. Tobey [eMVP]" wrote:
> >> >> >
> >> >> >> I'm kind of wondering if you're asking about the object store
> >> >> >> filesystem?
> >> >> >> What hardware is this filesystem on? Inserted card? On-board
> >> >> >> flash?
> >> >> >> It's
> >> >> >> the object store?
> >> >> >>
> >> >> >> Paul T.
> >> >> >>
> >> >> >> "sampeper" <sampeper@discussions.microsoft.com> wrote in message
> >> >> >> news:D9E00F68-920F-4BFD-AA8A-EE8D7E2C818D@microsoft.com...
> >> >> >> > Is there a limit to the maximum number of files per directory (or
> >> >> >> > folder)?
> >> >> >> >
> >> >> >> > thanks,
> >> >> >> > sam
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>