Overwrite file copying
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