Computing.Net > Forums > Disk Operating System > max number of files in folder?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

max number of files in folder?

Reply to Message Icon

Name: odie
Date: February 23, 2006 at 08:35:36 Pacific
OS: DOS 7
CPU/Ram: 486, DX133, 48m ram
Product: clone/who cares?
Comment:

I am haveing some trouble accessing all the files in a folder on this machine. I can pull the drive out and drop it into my windows box as a secondary and I can access all teh files in windows. My question is ths, is there a limit to how many it can read in a folder? or is it purely an amount of megs that is the limiting factor? I have over ten thousand files in one folder all jpg gif and txt/html pages and was wondering if theres a way around this without creating more folders.



Sponsored Link
Ads by Google

Response Number 1
Name: wizard-fred
Date: February 23, 2006 at 13:50:56 Pacific
Reply:

The maximum number I've seen in a W98 machine was about 28,000. Access under DOS is slower because of the number of accesses needed to read the directory. Assuming 4K clusters, 128 files per cluster (32 bytes per file name), 10,000 files would need about 80 clusters just for that directory. Assuming you are not fragmented and having 8 buffers it would take about 10 reads to find the file if it was at the end. Access would be much faster with a proper folder structure.


0

Response Number 2
Name: jboy
Date: February 23, 2006 at 14:37:40 Pacific
Reply:

"I am haveing some trouble accessing all the files in a folder "

What, exactly, do you mean by that?

Science is built up with facts, as a house is with stones. But a collection of facts is not more a science than a heap of stones is a home


0

Response Number 3
Name: odie
Date: February 23, 2006 at 19:21:18 Pacific
Reply:

what I mean JBOY is I have just over 10,000 files in one directory and everytime I change to that directory it throws a error reading directory only first 3350 files read or some dam* thing like that. and sometimes a html page that pulls a picture from that same directory wont show. I would change it if it was easy, but rewriting massive quanties of html pages by hand is not what I had in mind. in case you were wondering, its a home built three dimintional color maze game with picturs that I wrote as a project. anyways it works in windows98 sooo I I guess I dont need to play it on my dos machine.

wizzard, thanks for your input. that could be it, and at teh time it was created on the windows computer file structure didnt seem to be a problem, I knew it wasnt right when I did it but it made for easier and faster creation of the html pages as it was all done without an editor.

anyways, thak you both for your input and since this is not very important (not life threating or money making) I end this question.


0

Response Number 4
Name: jboy
Date: February 23, 2006 at 19:45:52 Pacific
Reply:

Well, ODIE, that's great - but no, I really wasn't wondering about the rest - although your creative spelling is quite... charming ('dimintional' was my favourite mangling)

"it throws a error reading"

mm'kay - fine, thanks for clearing that up


Science is built up with facts, as a house is with stones. But a collection of facts is not more a science than a heap of stones is a home


0

Response Number 5
Name: odie
Date: February 24, 2006 at 10:49:28 Pacific
Reply:

dude, I dont know what I id to piss you off, but I was not aware that this was my english class. obviously you got its meaning! I am very sorry to offend you sir and since you cant provide any help to this post why are you bothering with grrammar and phishing for a fight?

if you can't post positive helpful information, why do you bother harassing people, seems like a waste of your all knowing power.

yes I miss spelled that word and a few others, I am sure you are perfect and never make mistakes, so tell me... since you know it all why you dont know the answer to my question? LOL! good day.


0

Related Posts

See More



Response Number 6
Name: wizard-fred
Date: February 25, 2006 at 01:16:01 Pacific
Reply:

Odie: This is not English class, but throughout life good English is preferred. Your's may be far from the worse, but the forum is a place to communicate. And if the posters communicated better, maybe the answers would be better. The reason I answered is because I have runup with same problem before. Actually depending upon how you arranged the hierarchy of your levels and your naming convention, it may be possible to rewrite your files, as well as moving them to the proper subdirectories, by using a program to parse through game levels. jboy's pen might be sharp and but has provided moments of humor, I'm sure the intent was not vicious. (sea moss)


0

Response Number 7
Name: martint123
Date: February 26, 2006 at 10:35:32 Pacific
Reply:

"it throws a error reading directory"

The actual text of an error message is probably the most important fact people can use to work out what might be going wrong.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Use switches on batch fil... Gridcase Password



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: max number of files in folder?

Count the number of files www.computing.net/answers/dos/count-the-number-of-files/13393.html

count the file numbers in a folder www.computing.net/answers/dos/count-the-file-numbers-in-a-folder/16675.html

Getting Number of Files with DIR www.computing.net/answers/dos/getting-number-of-files-with-dir/13994.html