• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Too Many Files ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Problem with script
      • From: Chuck Coleman <email@hidden>
  • Prev by Date: Re: Ahem... record on the fly
  • Next by Date: Naming a file
  • Previous by thread: Scripting swedish Distiller 5.0
  • Next by thread: Problem with script
  • Index(es):
    • Date
    • Thread