• 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
Overwrite file copying
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overwrite file copying


  • Subject: Overwrite file copying
  • From: "Stephen Gross" <email@hidden>
  • Date: Thu, 04 Jan 2001 14:03:43 -0500
  • Organization: Stuart Country Day School

I know how to do a file copy. How do I do a file overwrite? Also, can I enclose it in a try block, and catch the "file already exists" error. Here's kind of what I have in mind:

try
copy file1 to location1
catch (file already exists) error
query user for overwrite
end try

Thanks!
--Steve


  • Prev by Date: Re: Acrobat on server
  • Next by Date: Re: Simple Question: Record List to value List
  • Previous by thread: RE: applescript-users digest, Vol 2 #187 - 15 msgs
  • Next by thread: FW: Overwrite file copying
  • Index(es):
    • Date
    • Thread