Too Many Files ...
Too Many Files ...
- Subject: Too Many Files ...
- From: Eric Schult <email@hidden>
- Date: Tue, 18 Sep 2001 14:05:32 -0500
I'm encountering error dialogs when scripting Acrobat and Quark that
complain about "too many files" in a specified folder when I'm trying to
save files into that folder, or get text or get picture from that folder. I
usually have no more than 1,000 EPSes or TXTs in these folders. I'm not sure
what the maximum quantity is to cause the error, but think it's in the 800s.
I wrote this silly little script (uses Tanaka's OSAX) to try to trap the
error and tell me what the maximum was:
set testFolder to ((path to desktop as string) & "test:") as string
repeat with i from 1 to 2000
writeToFile i as string to file (testFolder & i as string)
end repeat
... but this script produces no errors. It writes 2000 numbered files to the
testFolder, without error. It would seem it's the applications, not the
Finder or Applescript, that don't like to encounter folders that contain a
large quantity of files.
Can anyone explain the limit that I seem to be running into?
WES