duplicating files
duplicating files
- Subject: duplicating files
- From: "Stephen Gross" <email@hidden>
- Date: Tue, 09 Jan 2001 15:24:52 -0500
- Organization: Stuart Country Day School
I would like to know how to deal with overwrite errors. Here's my code:
=====
tell application "Finder"
duplicate file1 to location2 with replacing
end tell
=====
The problem is that if it does indeed need to replace an existing file,
I get a dialog box popping up asking for the confirmation. Is there a
way I can avoid this?
Thanks,
--SGross