Page 1 of 1
What would be better...
Posted: Thu Aug 11, 2011 9:22 pm
by RichAlgeni
storing temporary web page files in a separate directory, or in a SQL table? Does anyone know how many files can be stored in a Windows directory before the overhead gets too great? I'd like to keep at least 100, maybe 1000. What would you suggest to keep track of the oldest file, then remove it when a new one is written?
Thanks as always!
Re: What would be better...
Posted: Thu Aug 11, 2011 10:43 pm
by MachineCode
RichAlgeni wrote:Does anyone know how many files can be stored in a Windows directory before the overhead gets too great?
Don't know if this helps, but I have about 3000 icon files in a single directory in Windows XP.
Re: What would be better...
Posted: Thu Aug 11, 2011 10:50 pm
by graph100
pff
just do some simple code which create file xD
Code: Select all
a = 0
Repeat
a + 1
CreateFile(0, str(a))
closefile(0)
ForEver
But I think if they is a limitation (If there is !!), it's in NTFS or in FAT32. I once had a hundredth thousand file in a folder because of a mistake no problème !
Re: What would be better...
Posted: Fri Aug 12, 2011 1:53 am
by RichAlgeni
Great, thanks guys! You never know with Microsoft, so just wanted to be sure.
Re: What would be better...
Posted: Fri Aug 12, 2011 8:29 am
by c4s