Skip to main content
Question

How do I set my writer to override existing file?


Lets say I have a routine with a writer and I run it. Now I want to run the same routine without having to change the writer file name. I want it to delete the old file and create a new one or Override the old file. How do I change the settings in the writer to do this?

2 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • March 31, 2016

This depends on the writer you are using.

Default setting for most file based writers is to overwrite any existing file.

Some writers have a setting to either overwrite or append to a file.

Some files can not be overwritten if opened by another application (XLS, PDF and maybe others).


Forum|alt.badge.img
  • March 31, 2016

If by any chance it is a geodatabase, then you can set the option of Overwrite Database to Yes when you first add a writer.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings