If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
how many files are allowed in a folder?
up to almost 2,000 files in a single sub folder in a subfolder in C:
drive want to avoid catastrophic scrambling of data and information loss How many files can reside in a single folder? PS: might be important: the filenames are all contiguous characters with NO spaces almost all files are *.txt and actual count is 1,599 files in 15.8MB |
#2
|
|||
|
|||
how many files are allowed in a folder?
In message
, Robert Macy writes: up to almost 2,000 files in a single sub folder in a subfolder in C: drive want to avoid catastrophic scrambling of data and information loss How many files can reside in a single folder? PS: might be important: the filenames are all contiguous characters with NO spaces almost all files are *.txt and actual count is 1,599 files in 15.8MB I'm not aware of _any_ limit; a folder/directory is more or less a file, which grows as necessary. I believe there was/is a limit on the number of entries in the _root_ directory - about 100 I think (and that may be 8.3 type filenames, i. e. 11 bytes, such that longer ones take more space). I'm pretty sure it was the case under DOS, not sure about '9x. -- J. P. Gilliver. UMRA: 1960/1985 MB++G.5AL-IS-P--Ch++(p)Ar@T0H+Sh0!:`)DNAf They are public servants, so we will threat them rather as Flashman treats servants. - Stephen Fry on some people's attitudo to the BBC, in Radio Times, 3-9 July 2010 |
#3
|
|||
|
|||
how many files are allowed in a folder?
|
#5
|
|||
|
|||
how many files are allowed in a folder?
"J. P. Gilliver (John)" wrote:
almost all files are *.txt and actual count is 1,599 files in 15.8MB I had a look at one directory on my drive that I know has a lot of files (don't know if it's the directory containing the most files on my system or not) but it has about 7,300 files occupying 500 mb of space. I believe there was/is a limit on the number of entries in the _root_ directory - about 100 I think (and that may be 8.3 type filenames, i. e. 11 bytes, such that longer ones take more space). I'm pretty sure it was the case under DOS, not sure about '9x. You're thinking about a volume partitioned as FAT-16. It has a limit of 512 entries in the root directory. FAT-32 doesn't have that limitation (and neither does DOS). |
#6
|
|||
|
|||
how many files are allowed in a folder?
I think FAT32 is limited to just short of 65536 files (which would include
the count of directories too). Not just short of, but exactly 65536. The . dot and .. dot dot entries take up two, so 65534 "visible" file directory entries. That's the number of dir entries allowed. That means 65534 shortname files. Longname files will use more. FWIW, I have a folder maxed out with 9 subfolders and 23,376 files (predominantly with long file names). Attempts to add more files or folders give an access denied error, but otherwise being at the limit has not caused any problems. |
#7
|
|||
|
|||
how many files are allowed in a folder?
On 10/25/2011 01:02 AM, nobody wrote:
I think FAT32 is limited to just short of 65536 files (which would include the count of directories too). Not just short of, but exactly 65536. The .dot and ..dot dot entries take up two, so 65534 "visible" file directory entries. That's the number of dir entries allowed. That means 65534 shortname files. Longname files will use more. FWIW, I have a folder maxed out with 9 subfolders and 23,376 files (predominantly with long file names). Attempts to add more files or folders give an access denied error, but otherwise being at the limit has not caused any problems. I've cut and pasted this: On a FAT32 drive the directory for a folder can hold a maximum of 65.534 entries. Files that use long file names (more than 8 character names plus 3 character extensions) will use multiple directory entries for each file. Most users encounter problems somewhere in the 15,000 to 20,000 file range, although this depends entirely on how long their actual file names are. It is possible to hit the limit with as few as 5,000 files if very long file names are used. On NTFS drives the limit is much higher Ron Martell Duncan B.C. Canada Microsoft MVP |
#8
|
|||
|
|||
how many files are allowed in a folder?
Robert Macy wrote:
up to almost 2,000 files in a single sub folder in a subfolder in C: drive want to avoid catastrophic scrambling of data and information loss How many files can reside in a single folder? It depends on the file system. In the FAT systems a directory can contain up to 65,536 entries. A single file can use up to 13 entries, depending on the length of its name. In FAT16 the root directory was further restricted, but that limit was removed in FAT32. In NTFS, there's no limit. You can have up to 4,294,967,295 files in a partition, but there's no limit on how many of those may be in a single directory. PS: might be important: the filenames are all contiguous characters with NO spaces almost all files are *.txt and actual count is 1,599 files in 15.8MB Total space occupied by the files makes no difference. A directory is a special type of file containing information about other files. It tells where to find those files, but does not contain their contents. -- Tim Slattery http://members.cox.net/slatteryt |
#9
|
|||
|
|||
how many files are allowed in a folder?
On Oct 25, 5:56*am, Tim Slattery wrote:
Robert Macy wrote: up to almost 2,000 files in a single sub folder in a subfolder in C: drive want to avoid catastrophic scrambling of data and information loss How many files can reside in a single folder? It depends on the file system. In the FAT systems a directory can contain up to 65,536 entries. A single file can use up to 13 entries, depending on the length of its name. In FAT16 the root directory was further restricted, but that limit was removed in FAT32. In NTFS, there's no limit. You can have up to 4,294,967,295 files in a partition, but there's no limit on how many of those may be in a single directory. PS: might be important: the filenames are all contiguous characters with NO spaces almost all files are *.txt and actual count is 1,599 files in 15.8MB Total space occupied by the files makes no difference. A directory is a special type of file containing information about other files. It tells where to find those files, but does not contain their contents. -- Tim Slattery /slatteryt |
#10
|
|||
|
|||
how many files are allowed in a folder?
On Oct 25, 5:56*am, Tim Slattery wrote:
Robert Macy wrote: up to almost 2,000 files in a single sub folder in a subfolder in C: drive want to avoid catastrophic scrambling of data and information loss How many files can reside in a single folder? It depends on the file system. In the FAT systems a directory can contain up to 65,536 entries. A single file can use up to 13 entries, depending on the length of its name. In FAT16 the root directory was further restricted, but that limit was removed in FAT32. In NTFS, there's no limit. You can have up to 4,294,967,295 files in a partition, but there's no limit on how many of those may be in a single directory. PS: might be important: the filenames are all contiguous characters with NO spaces almost all files are *.txt and actual count is 1,599 files in 15.8MB Total space occupied by the files makes no difference. A directory is a special type of file containing information about other files. It tells where to find those files, but does not contain their contents. -- Tim Slattery /slatteryt arrrggg! reply to answer all Thank you ALL for the replies. My conclusions: I can do a directory filename check and check for lengths of names. I can then divide that into the total available and 'estimate' maximum number. But, most importantly, *if* I do exceed the limit, nothing weird happens, I'm merely denied access. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Win-98 TCP/IP settings - multiple gateway entries allowed? | 98 Guy | Networking | 2 | August 10th 09 02:07 PM |
BUG? Password Change not allowed on Windows 98SE in W2k3 Network | Matt Philpott | Networking | 4 | July 11th 05 10:26 AM |
No Downloads allowed into the Temp folder... Why? | Canapril | Improving Performance | 8 | September 14th 04 03:10 AM |
files in temp folder | Fun Kid | Improving Performance | 2 | May 11th 04 05:55 PM |