Thread: exam question

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    4

    exam question

    how many maximum files can be stored in a directory...
    it is my exam question ..pls help me out

  2. #2
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    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.

  3. #3
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. another do while question
    By kbpsu in forum C++ Programming
    Replies: 3
    Last Post: 03-23-2009, 12:14 PM
  2. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM
  3. sort problem for an exam
    By rjeff1804 in forum C Programming
    Replies: 10
    Last Post: 02-12-2003, 10:33 PM
  4. another exam question
    By rjeff1804 in forum C Programming
    Replies: 4
    Last Post: 02-12-2003, 10:29 PM
  5. The AP Exam.....
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 32
    Last Post: 02-10-2003, 09:46 PM