IIRC Windows will only choke if you try to put 65k files in the ROOT
directory.  Any other directory should be able to handle more.  Whether
or not one (Al) should put 65k files in one directory is a different
matter... ;-)

Cheers,

C.

-----Original Message-----
From: Myles Penlington [mailto:[EMAIL PROTECTED]

Yes windows will choke with this number of files in a single directory.
It
is just not designed to handle it. Although I think most OS

You have probably doubled the number of MFT entries and they will have
become fragmented.

All the files on my machine all up number about 70,000

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Is your disk getting fragmented?  Especially when you're adding 65k
small files at a time?

Try Diskeeper or something, not the built-in defragger...

-----Original Message-----
From: Alistair George [mailto:[EMAIL PROTECTED]
To: Multiple recipients of list delphi

Hi all.
this is a tad offtopic, but useful if someone knows the answer.
I made up a wee unit yesterday as follows:
procedure TMainform.ZIPmodeClick(Sender: TObject);
var
  fp: file of Byte;
  no: longint;
  filename: string;
begin
  for no := 1 to 65535 do
  begin
    filename := 'h:\Test' + inttostr(no) + '.txt';
    assignfile(fp, filename);
    Rewrite(Fp);
    CloseFile(Fp);
  end;
end;

Once the above is completed (on a 1.2Ghz machine it is SLOW). Thereafter
explorer is really choked/slow until I remove the files from whichever
directory
they have been placed in. Explorers refresh if I click in the directory
for
example can  take  2-3  minutes  just  to show the files within. Any
suggestions
on how to overcome? They are all '0' size - could this be the problem or
what?
Thanks,
Alistair+

Oh, BTW it was a test for the ability of a zip engine to zip 65535 files
then zip64 > 65535 files.

PPS just found that by turning off 'indexing service' helps a lot
although the target directory refresh is just as slow.
---------------------------------------------------------------------------
  New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe offtopic"
Web Archive at: http://www.mail-archive.com/offtopic%40delphi.org.nz/

Reply via email to