how many maximum files can be stored in a directory...
it is my exam question ..pls help me out
how many maximum files can be stored in a directory...
it is my exam question ..pls help me out
It depends on your operating system and the format of the allocation table. There is FAT16, FAT32, and NTFS. They all have different maximums. I think that the only truely limited format under these circumstances is FAT16 but I forget the maximum files a directory under this format can hold. This isn't really a C programming question but rather a systems question. If you have an A+ guide, look it up.
We found by accident that Win98 has a max per folder of around 21,000. I an't remember the exact number. Seems the FAT32 could not handle more.
We were creating files and at that point it would always fail.
You could write an app to find out.